| Index: net/socket/ssl_client_socket_openssl.cc
|
| diff --git a/net/socket/ssl_client_socket_openssl.cc b/net/socket/ssl_client_socket_openssl.cc
|
| index 504b702dc6614734df3894fb004168d4f6dad581..348528033e41b33fc8387d5d9a4f6c2b1b6f94cf 100644
|
| --- a/net/socket/ssl_client_socket_openssl.cc
|
| +++ b/net/socket/ssl_client_socket_openssl.cc
|
| @@ -191,6 +191,10 @@ class SSLClientSocketOpenSSL::SSLContext {
|
| SSL_CTX_set_cert_verify_callback(ssl_ctx_.get(), CertVerifyCallback, NULL);
|
| SSL_CTX_set_cert_cb(ssl_ctx_.get(), ClientCertRequestCallback, NULL);
|
| SSL_CTX_set_verify(ssl_ctx_.get(), SSL_VERIFY_PEER, NULL);
|
| + // This stops |SSL_shutdown| from generating the close_notify message, which
|
| + // is currently not sent on the network.
|
| + // TODO(haavardm): Remove setting quiet shutdown once 118366 is fixed.
|
| + SSL_CTX_set_quiet_shutdown(ssl_ctx_.get(), 1);
|
| // TODO(kristianm): Only select this if ssl_config_.next_proto is not empty.
|
| // It would be better if the callback were not a global setting,
|
| // but that is an OpenSSL issue.
|
|
|