mirror of
https://github.com/curl/curl.git
synced 2026-07-24 00:17:21 +03:00
- 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.
This commit is contained in:
parent
e4a0001fc6
commit
e2c6e00570
6 changed files with 17 additions and 8 deletions
|
|
@ -3,4 +3,4 @@
|
|||
# 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
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ FAILURE
|
|||
</info>
|
||||
|
||||
<reply>
|
||||
<data>
|
||||
<data nocheck="yes">
|
||||
data for 1099
|
||||
</data>
|
||||
</reply>
|
||||
|
|
@ -30,9 +30,6 @@ tftp://%HOSTIP:%TFTPPORT/an/invalid-file tftp://%HOSTIP:%TFTPPORT//1099 --trace-
|
|||
#
|
||||
# Verify pseudo protocol after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
69
|
||||
</errorcode>
|
||||
<protocol>
|
||||
opcode: 1
|
||||
filename: an/invalid-file
|
||||
|
|
@ -41,5 +38,8 @@ opcode: 1
|
|||
filename: /1099
|
||||
mode: octet
|
||||
</protocol>
|
||||
<stdout mode="text">
|
||||
data for 1099
|
||||
</stdout>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue