Hello wget developers,

I found an issue when using `wget -c`, as in:

  https://github.com/mholt/caddy/issues/1965#issuecomment-349220927

By checking out the wget source code, I can confirm that it doesn't
drain the response body when it meets a 416 Requested Range Not
Satisfiable, and then the socket will be reused for the second request
(http get 2.dat in this case). When parse its response, it will
encounter the first response's body, so it failed to get the correct
response header. This is why you get a blank response header.

Hope this can be fixed.

Thanks,
Iru

Attachment: signature.asc
Description: PGP signature

Reply via email to