From 1bdba8372b5d55e842acfca52ba0130e594c0418 Mon Sep 17 00:00:00 2001 From: Mark Benvenuto Date: Wed, 5 Jun 2019 15:47:10 -0400 Subject: SERVER-40393 Disable SSL_MODE_RELEASE_BUFFERS in ASIO --- .../asio-asio-1-11-0/asio/include/asio/ssl/detail/impl/engine.ipp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') 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); -- cgit v1.2.1