summaryrefslogtreecommitdiffstats
path: root/net/socket
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket')
-rw-r--r--net/socket/ssl_client_socket_openssl.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/socket/ssl_client_socket_openssl.cc b/net/socket/ssl_client_socket_openssl.cc
index 8bdbfd1..d03e093 100644
--- a/net/socket/ssl_client_socket_openssl.cc
+++ b/net/socket/ssl_client_socket_openssl.cc
@@ -490,10 +490,7 @@ bool SSLClientSocketOpenSSL::Init() {
#endif
#if defined(SSL_OP_NO_COMPRESSION)
- // If TLS was disabled also disable compression, to provide maximum site
- // compatibility in the case of protocol fallback. See http://crbug.com/31628
- options.ConfigureFlag(SSL_OP_NO_COMPRESSION,
- ssl_config_.version_max < SSL_PROTOCOL_VERSION_TLS1);
+ options.ConfigureFlag(SSL_OP_NO_COMPRESSION, true);
#endif
// TODO(joth): Set this conditionally, see http://crbug.com/55410