Bugs item #1724016, was opened at 2007-05-23 09:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1724016&group_id=976
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: TFTP
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: songma (songmash)
Assigned to: Daniel Stenberg (bagder)
Summary: "curl tftp://tftpserver/[1-3] -O" not working in latest src
Initial Comment:
Hi,
For the latest snapshot of cURL, "curl-7.16.3-20070523", I found that the following scenario is not working.
~/curl-7.16.3-20070523/src>./curl -v tftp://tftpserver/[1-3] -o "my_#1"
But only one file was downloaded.
~/curl-7.16.3-20070523/src>ls my_* my_1
In the snapshot the "tftp.c" version is "1.46". I can see there are a lot of fixes made to "tftp.c" recently. Could some change break it?
cURL 7.16.1 and 7.16.2 is okay for this usage.
Best Regards,
Song Ma
Verbose log:
curl-7.16.3-20070523
[1/3]: tftp://tftpserver/1 --> my_1
* About to connect() to tftpserver port 69 (#0)
* Trying tftpserver... connected
* Connected to tftpserver (tftpserver) port 69 (#0)
* set timeouts for state 0; Total 30, retry 5 maxtry 6
* TFTP_STATE_START
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 6 0 6 0 0 36 0 --:--:-- --:--:-- --:--:--
36* TFTP_STATE_START
* Connected for receive
* set timeouts for state 1; Total 3600, retry 15 maxtry 24
0 6 0 6 0 0 36 0 --:--:-- --:--:-- --:--:--
36* Connection #0 to host tftpserver left intact
[2/3]: tftp://tftpserver/2 --> my_2
* Examining connection #0 for reuse (pipeLen = 0)
* Re-using existing connection! (#0) with host tftpserver
* Connected to tftpserver (tftpserver) port 69 (#0)
* TFTP finished
0 6 0 6 0 0 10810 0 --:--:-- --:--:-- --:--:--
10810* Connection #0 to host tftpserver left intact
[3/3]: tftp://tftpserver/3 --> my_3
* Examining connection #0 for reuse (pipeLen = 0)
* Re-using existing connection! (#0) with host tftpserver
* Connected to tftpserver (tftpserver) port 69 (#0)
* TFTP finished
0 6 0 6 0 0 2772 0 --:--:-- --:--:-- --:--:--
2772* Connection #0 to host tftpserver left intact
* Closing connection #0
cURL 7.16.2:
* Trying tftpserver... connected
* Connected to tftpserver (tftpserver) port 69 (#0)
* set timeouts for state 0; Total 30, retry 5 maxtry 6
* TFTP_STATE_START
* TFTP_STATE_START
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:--
0* TFTP_STATE_START
* Connected for receive
* set timeouts for state 1; Total 3600, retry 15 maxtry 24
* Pre readwrite setting chunky header values to default
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:--
0* Connection #0 to host tftpserver left intact
[2/3]: tftp://tftpserver/2 --> my_2
* Examining connection #0 for reuse (pipeLen = 0)
* Re-using existing connection! (#0) with host tftpserver
* Connected to tftpserver (tftpserver) port 69 (#0)
* TFTP finished
* Pre readwrite setting chunky header values to default
* Connection died, retrying a fresh connect
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* Closing connection #0
* Issue another request to this URL: 'tftp://tftpserver/2'
* About to connect() to tftpserver port 69 (#0)
* Trying tftpserver... connected
* Connected to tftpserver (tftpserver) port 69 (#0)
* set timeouts for state 0; Total 30, retry 5 maxtry 6
* TFTP_STATE_START
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* TFTP_STATE_START
* Connected for receive
* set timeouts for state 1; Total 3600, retry 15 maxtry 24
* Pre readwrite setting chunky header values to default
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* Connection #0 to host tftpserver left intact
[3/3]: tftp://tftpserver/3 --> my_3
* Examining connection #0 for reuse (pipeLen = 0)
* Re-using existing connection! (#0) with host tftpserver
* Connected to tftpserver (tftpserver) port 69 (#0)
* TFTP finished
* Pre readwrite setting chunky header values to default
* Connection died, retrying a fresh connect
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* Closing connection #0
* Issue another request to this URL: 'tftp://tftpserver/3'
* About to connect() to tftpserver port 69 (#0)
* Trying tftpserver... connected
* Connected to tftpserver (tftpserver) port 69 (#0)
* set timeouts for state 0; Total 30, retry 5 maxtry 6
* TFTP_STATE_START
* TFTP_STATE_START
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:--
0* TFTP_STATE_START
* Connected for receive
* set timeouts for state 1; Total 3600, retry 15 maxtry 24
* Pre readwrite setting chunky header values to default
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:--
0* Connection #0 to host tftpserver left intact
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1724016&group_id=976
Received on 2007-05-23