File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ mod _ssl {
9090 // X509_V_FLAG_X509_STRICT as VERIFY_X509_STRICT,
9191 SSL_ERROR_ZERO_RETURN ,
9292 SSL_OP_CIPHER_SERVER_PREFERENCE as OP_CIPHER_SERVER_PREFERENCE ,
93+ SSL_OP_ENABLE_MIDDLEBOX_COMPAT as OP_ENABLE_MIDDLEBOX_COMPAT ,
9394 SSL_OP_LEGACY_SERVER_CONNECT as OP_LEGACY_SERVER_CONNECT ,
9495 SSL_OP_NO_SSLv2 as OP_NO_SSLv2 ,
9596 SSL_OP_NO_SSLv3 as OP_NO_SSLv3 ,
@@ -552,6 +553,7 @@ mod _ssl {
552553 options |= SslOptions :: CIPHER_SERVER_PREFERENCE ;
553554 options |= SslOptions :: SINGLE_DH_USE ;
554555 options |= SslOptions :: SINGLE_ECDH_USE ;
556+ options |= SslOptions :: ENABLE_MIDDLEBOX_COMPAT ;
555557 builder. set_options ( options) ;
556558
557559 let mode = ssl:: SslMode :: ACCEPT_MOVING_WRITE_BUFFER | ssl:: SslMode :: AUTO_RETRY ;
You can’t perform that action at this time.
0 commit comments