Descriptionhttp, crypto/tls: fix read timeouts and closing.
tls.Conn.Close() didn't close the underlying connection and tried to
do a handshake in order to send the close notify alert.
http didn't look for errors from the TLS handshake.
Fixes issue 2281.
Patch Set 1 #Patch Set 2 : diff -r 65ea102b8d02 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 65ea102b8d02 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 17d744a4ebd7 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 17d744a4ebd7 https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|