[Bug 5426] wget hangs in call to poll() if progress meter or timeout support is enabled and HTTP chunked encoding is used
bugzilla at busybox.net
bugzilla at busybox.net
Mon Aug 27 08:44:51 UTC 2012
https://bugs.busybox.net/show_bug.cgi?id=5426
--- Comment #3 from Kenneth Soerensen <knnthsrnsn at gmail.com> 2012-08-27 08:44:50 UTC ---
Thanks
I have tried the fix and it stops wget from stalling. However, it is very slow.
Retrieving a small file, which should be completed within a fraction of a
second sometimes takes several seconds.
Basically, I think you need to arrange the code in such a way that you are sure
that the fread() buffer is empty before you call poll().
I have attached a Wireshark trace that demonstrates the problem.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list