wininet: Don't close the connection if the caller passes in zero for the number…
wininet: Don't close the connection if the caller passes in zero for the number of bytes to be read.
Only close the connection when the bytes read equals the content length.
Fixup HTTP_DrainContent, which relied on the previous incorrect
behaviour to instead close connections with no content length manually.
Showing
Please
register
or
sign in
to comment