diff --git a/CHANGELOG.md b/CHANGELOG.md index abf642bd..20a5b36d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Version 232: + +* Fix close_socket for net::basic_socket changes + +-------------------------------------------------------------------------------- + Version 231: * Doc section names are stable diff --git a/include/boost/beast/core/stream_traits.hpp b/include/boost/beast/core/stream_traits.hpp index 26f9ea54..53b663b6 100644 --- a/include/boost/beast/core/stream_traits.hpp +++ b/include/boost/beast/core/stream_traits.hpp @@ -435,10 +435,13 @@ using is_async_stream = std::integral_constant +template< + class Protocol, + class Executor> void beast_close_socket( - net::basic_socket& sock) + net::basic_socket< + Protocol, Executor>& sock) { boost::system::error_code ec; sock.close(ec);