aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-01-13 23:24:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-01-13 23:24:06 +0000
commit1225d36188e56a68b3f0cc6ed0c602c3c3e00615 (patch)
treecbe5210b2220c00ccd3dec1b205c0281bd3c6b56 /CHANGES
parenta19e02be5e3fc41aee1ecee73a26d363e186e36e (diff)
Grant Erickson fixed timeouts for TFTP
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES38
1 files changed, 38 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index b08f49030..0694b033e 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,44 @@
Changelog
+Daniel Stenberg (14 Jan 2009)
+- Grant Erickson fixed timeouts for TFTP such that specifying a
+ connect-timeout, a max-time or both options work correctly and as expected
+ by passing the correct boolean value to Curl_timeleft via the
+ 'duringconnect' parameter.
+
+ With this small change, curl TFTP now behaves as expected (and likely as
+ originally-designed):
+
+ 1) For non-existent or unreachable dotted IP addresses:
+
+ a) With no options, follows the default curl 300s timeout...
+ b) With --connect-timeout only, follows that value...
+ c) With --max-time only, follows that value...
+ d) With both --connect-timeout and --max-time, follows the smaller value...
+
+ and times out with a "curl: (7) Couldn't connect to server" error.
+
+ 2) For transfers to/from a valid host:
+
+ a) With no options, follows default curl 300s timeout for the
+ first XRQ/DATA/ACK transaction and the default TFTP 3600s
+ timeout for the remainder of the transfer...
+
+ b) With --connect-time only, follows that value for the
+ first XRQ/DATA/ACK transaction and the default TFTP 3600s
+ timeout for the remainder of the transfer...
+
+ c) With --max-time only, follows that value for the first
+ XRQ/DATA/ACK transaction and for the remainder of the
+ transfer...
+
+ d) With both --connect-timeout and --max-time, follows the former
+ for the first XRQ/DATA/ACK transaction and the latter for the
+ remainder of the transfer...
+
+ and times out with a "curl: (28) Timeout was reached" error as
+ appropriate.
Daniel Stenberg (13 Jan 2009)
- Michael Wallner fixed a NULL pointer deref when calling