#1312 CURLOPT_MAX_RECV_SPEED_LARGE on file:// URLs causes delays

closed-fixed
None
5
2013-12-22
2013-12-16
No

CURLOPT_MAX_RECV_SPEED_LARGE is not supported for FILE:// transfers so the transfer is still made as fast as possible. Although after the transfer is completed, libcurl will still run it through the ordinary state machine where it will detect that it ran too fast and sleep until the average speed has gone down to the max speed!

This might also affect TFTP in a similar way, I haven't checked.

Reported by Mohammad_AlSaleh http://curl.haxx.se/mail/lib-2013-12/0053.html

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2013-12-22
    • status: open-confirmed --> closed-fixed
     
  • Daniel Stenberg

    Daniel Stenberg - 2013-12-22

    Fixed in commit 2715d7f948c8e. The option not working for FILE:// is also documented now, since commit f718415bc791.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks