[Bug 9591] 1.26.2 wget doesn't fetch the whole file

bugzilla at busybox.net bugzilla at busybox.net
Mon Jan 16 16:26:36 UTC 2017


--- Comment #4 from Denys Vlasenko <vda.linux at googlemail.com> ---
It's caused by this:

                /* If we use SSL helper, keeping our end of the socket open for
                 * makes our end (i.e. the same fd!) readable (EAGAIN instead
of EOF)
                 * even after child closes its copy of the fd.
                 * This helps:
                shutdown(fileno(sfp), SHUT_WR);

Evidently, nginx is startled to find that we are not going to write anything to
the connection. It stops sending data and closes the connection too soon.

commit a6f8651911716d1d1624712eb19e4f3608767c7e which fixes this will be
backported to 1.26.x


You are receiving this mail because:
You are on the CC list for the bug.

More information about the busybox-cvs mailing list