summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2019-06-05 15:47:10 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2019-06-05 15:47:10 -0400
commit1bdba8372b5d55e842acfca52ba0130e594c0418 (patch)
tree73c9180ee5fa37f4533be15df803b0cfe109bdf7 /src
parent0aedd1a462675c03a840180a5dd781af1f71d4c4 (diff)
downloadmongo-1bdba8372b5d55e842acfca52ba0130e594c0418.tar.gz
SERVER-40393 Disable SSL_MODE_RELEASE_BUFFERS in ASIO
Diffstat (limited to 'src')
-rw-r--r--src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/detail/impl/engine.ipp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/detail/impl/engine.ipp b/src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/detail/impl/engine.ipp
index 55044112053..54aaefcc50e 100644
--- a/src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/detail/impl/engine.ipp
+++ b/src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/detail/impl/engine.ipp
@@ -44,9 +44,10 @@ engine::engine(SSL_CTX* context)
::SSL_set_mode(ssl_, SSL_MODE_ENABLE_PARTIAL_WRITE);
::SSL_set_mode(ssl_, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER);
-#if defined(SSL_MODE_RELEASE_BUFFERS)
- ::SSL_set_mode(ssl_, SSL_MODE_RELEASE_BUFFERS);
-#endif // defined(SSL_MODE_RELEASE_BUFFERS)
+// SERVER-40393 - Disable SSL_MODE_RELEASE_BUFFERS in ASIO
+//#if defined(SSL_MODE_RELEASE_BUFFERS)
+ //::SSL_set_mode(ssl_, SSL_MODE_RELEASE_BUFFERS);
+//#endif // defined(SSL_MODE_RELEASE_BUFFERS)
::BIO* int_bio = 0;
::BIO_new_bio_pair(&int_bio, 0, &ext_bio_, 0);