Descriptionnet/http: Transport should return an error when response body ends early
If a server response contains a Content-Length and the body is short,
the Transport should end in io.ErrUnexpectedEOF, not io.EOF.
Fixes issue 5738
Patch Set 1 #Patch Set 2 : diff -r 0581827a7481 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 0581827a7481 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 33c84d77a5a4 https://go.googlecode.com/hg/ #
MessagesTotal messages: 4
|