Bugs item #2848436, was opened at 2009-09-01 15:44
Message generated for change (Settings changed) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2848436&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: Pending
>Resolution: Later
Priority: 6
Private: No
Submitted By: Anduras AG (anduras)
Assigned to: Daniel Stenberg (bagder)
Summary: TFTP limited to 32 MB
Initial Comment:
Hello!
We have the following problem:
Curl tftp upload is limited to 32 MB in 7.19.6
We are using curl to upload large files to a tftp server and with the
newest version 7.19.6 the upload is limited to 32 MB.
We tried version 7.19.3 and the upload works correct.
Version 7.19.4 added support for the blksize and tsize options and
this seems to break the upload. We disabled the tsize and blksize
support of the used tftp-hpa daemon and without it, it worked.
This is our environment:
- tftp server: tftp-hpa 0.48, with remap, with tcpwrappers
- Ubuntu (jaunty)
- curl (self-compiled)
We tested the patches from the following mails:
- http://curl.haxx.se/mail/lib-2009-08/0028.html (1)
- http://curl.haxx.se/mail/lib-2009-08/0024.html (2)
but these didn't solve the problem.
In other words:
The new TFTP support of CURL does NOT support files with
more than 32 MB.
This is how we tested it
curl tftp://www.example.com/testfile -T /tmp/testfile causes
and it gave us the following results:
Version Result
--------------------------------------------------------------------------------
7.19.3 | upload unlimited
7.19.4 | upload only works if tsize and blksize was disabled on
| the tftp server
7.19.5 | upload is limited to 32 MB and only works if tsize was
| disabled on the tftp server
7.19.6 | upload is limited to 32 MB
7.19.7 snapshot | same result as in 7.19.6
7.19.6 |
+ patch from (1) | same result as in 7.19.4
7.19.6 |
+ rollover patch |
from (2) | same result as in 7.19.6
7.19.6 |
+ both patches |
from (2) | upload limited to ~92 MB (due to greater default block size)
Can you confirm the problems?
As we see, you have already some major rework in the queue, when do
you think will the TFTP support work again?
Regards
Sven Anders
Tobias Nothaft
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Date: 2009-10-21 14:40
Message:
There doesn't seem to be much interest in fixing TFTP right now. The TFTP
problem and this mark in particular is now mentioned in the KOWN_BUGS
document.
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Date: 2009-09-01 22:49
Message:
Just trying out random patches is probably not the best way forward. Join
the mailing list and discuss solutions with us. I think we should start
with making TFTP a "fine" protocol first and that implies patch (1) to go
on first.
Once that is done, we can start nailing bugs and correcting things from
there.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2848436&group_id=976
Received on 2009-10-21