mail: mbarnum@tivo.com
[note: this was true in curl 7.12.0 and appears to still be
the case in cvs as of version 1.259 of lib/transfer.c]
if the connection to the remote host closes after one
chunk has been processed and before any more data is
read, curl will consider the transfer to have succeeded
because it checks for conn->proto.http->chunk.datasize
to be zero. this field is decremented as the chunk
is processed, leading to the bug.
fix attached.
fix for bug
Logged In: YES
user_id=1110
Same as #1078066