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: Wed, 21 Aug 2013 21:17:59 +0000

I guess I'll just have to make sure I can write up a test case for this to repeat it myself, and then make sure I get a correct fix. I'll get working on it soonish.

---
** [bugs:#1269] TFTP does not stop if rate is below low-speed-limit**
**Status:** open-confirmed
**Created:** Mon Aug 19, 2013 06:54 PM UTC by Jo3
**Last Updated:** Mon Aug 19, 2013 08:16 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-21

These mail archives are generated by hypermail.

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

File upload with ASP.NET