I've now made TFTP "connections" not being kept for re-use within libcurl.
TFTP is UDP-based so the benefit was really low (if even existing) to begin
with so instead of tracking down to fix this problem we instead removed the
re-use. I also enabled test case 1099 that I wrote a few days ago to verify
that this change fixes the reported problem.
Changelog
+Daniel Stenberg (29 Apr 2009)
+- Based on bug report #2723219 (http://curl.haxx.se/bug/view.cgi?id=2723219)
+ I've now made TFTP "connections" not being kept for re-use within libcurl.
+ TFTP is UDP-based so the benefit was really low (if even existing) to begin
+ with so instead of tracking down to fix this problem we instead removed the
+ re-use. I also enabled test case 1099 that I wrote a few days ago to verify
+ that this change fixes the reported problem.
+
Daniel Stenberg (28 Apr 2009)
- Constantine Sapuntzakis filed bug report #2783090
(http://curl.haxx.se/bug/view.cgi?id=2783090) pointing out that on windows
o crash related to FTP and "Re-used connection seems dead, get a new one"
o CURLINFO_APPCONNECT_TIME with the multi interface
o Enhanced upload speeds on Windows
+ o TFTP problems after a failed transfer to the same host
This release includes the following known bugs:
221 - debian man page warnings
-222 - TFTP close bug/fix, #2723219
-
223 - TFTP flaw, #2723236
226 - Active Mode FTPS Data Port Range
return CURLE_OUT_OF_MEMORY;
}
- conn->bits.close = FALSE; /* keep it open if possible */
+ conn->bits.close = TRUE; /* we don't keep TFTP connections up bascially
+ because there's none or very little gain for UDP
+ */
state->conn = conn;
state->sockfd = state->conn->sock[FIRSTSOCKET];
# test cases are run by runtests.pl. Just add the plain test case numbers, one
# per line.
# Lines starting with '#' letters are treated as comments.
-1099
+
</info>
<reply>
-<data>
+<data nocheck="yes">
data for 1099
</data>
</reply>
#
# Verify pseudo protocol after the test has been "shot"
<verify>
-<errorcode>
-69
-</errorcode>
<protocol>
opcode: 1
filename: an/invalid-file
filename: /1099
mode: octet
</protocol>
+<stdout mode="text">
+data for 1099
+</stdout>
</verify>
</testcase>