Close SSLClientSocketOpenSSL cleanly if the transport was closed.
commitbe6ce7ecd6d31721576d39e65d74fdbda65d48f1
authordavidben <davidben@chromium.org>
Mon, 20 Oct 2014 19:15:56 +0000 (20 12:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 20 Oct 2014 19:16:28 +0000 (20 19:16 +0000)
tree2ab9fed3a63727f1159ee54d86fad82657cbd6a5
parented46091c9a5fb61bb88a1abe04762bf4c082e370
Close SSLClientSocketOpenSSL cleanly if the transport was closed.

Servers do not reliably send close_notify. This regressed in
https://codereview.chromium.org/367963007 which had a side effect of making us
sensitive to this.

BUG=422246

Review URL: https://codereview.chromium.org/655813003

Cr-Commit-Position: refs/heads/master@{#300308}
net/socket/ssl_client_socket_openssl.cc
net/socket/ssl_client_socket_unittest.cc