cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1269 TFTP does not stop if rate is below low-speed-limit

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Thu, 22 Aug 2013 20:44:59 +0000

I improved the TFTP test server to be able to do a test for this. Then I wrote up test 1238 and could repeat the problem. Then I committed a fix that made test 1238 run fine. Then I pushed the lot to git. The fix is in commit 4bea91fc: https://github.com/bagder/curl/commit/4bea91fc6773

Thanks for the report, case closed!

---
** [bugs:#1269] TFTP does not stop if rate is below low-speed-limit**
**Status:** closed-fixed
**Created:** Mon Aug 19, 2013 06:54 PM UTC by Jo3
**Last Updated:** Wed Aug 21, 2013 09:17 PM UTC
**Owner:** Daniel Stenberg
TFTP transfers do not timeout when data rate is below CURLOPT_LOW_SPEED_LIMIT for CURLOPT_LOW_SPEED_TIME.
Looks like Curl_speedcheck() needs to be called in tftp.c:tftp_receive_packet().
Tested by initiating a transfer with curl binary running as tftp client. Then I pulled the ethernet cable to simulate network dis-connectivity. The transfer does not timeout within the timeframe specified by CURLOPT_LOW_SPEED_TIME.
curl 7.32.0 (x86_64-unknown-linux-gnu) libcurl/7.32.0 OpenSSL/1.0.1c zlib/1.2.7 libidn/1.25 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp 
Features: Debug TrackMemory IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2013-08-22

These mail archives are generated by hypermail.

donate! Page updated May 06, 2013.
web site info

File upload with ASP.NET