From fdc83c981ba78f8ab965ef564cb92233afcea119 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Tue, 12 Mar 2019 18:58:02 -0700 Subject: [PATCH] Fix basic_stream lowest_layer for ssl --- CHANGELOG.md | 7 +------ include/boost/beast/core/basic_stream.hpp | 6 +++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd31db99..443af418 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ Version 232: * Fix close_socket for net::basic_socket changes * Fix file_win32_write_op async initiation +* Fix basic_stream lowest_layer for ssl -------------------------------------------------------------------------------- @@ -56,12 +57,6 @@ Version 227: -------------------------------------------------------------------------------- -Version 227: - -* Fix decorator for certain sizes - --------------------------------------------------------------------------------- - Version 226: * Support -fno-exceptions diff --git a/include/boost/beast/core/basic_stream.hpp b/include/boost/beast/core/basic_stream.hpp index 79aa3244..057ab07f 100644 --- a/include/boost/beast/core/basic_stream.hpp +++ b/include/boost/beast/core/basic_stream.hpp @@ -294,15 +294,15 @@ private: template friend class boost::asio::ssl::stream; // DEPRECATED - using lowest_layer_type = net::basic_stream_socket; + using lowest_layer_type = socket_type; // DEPRECATED - net::basic_stream_socket& + lowest_layer_type& lowest_layer() noexcept { return impl_->socket; } // DEPRECATED - net::basic_stream_socket const& + lowest_layer_type const& lowest_layer() const noexcept { return impl_->socket;