mirror of
https://github.com/boostorg/beast.git
synced 2025-08-03 06:44:39 +02:00
Fix close_socket for net::basic_socket changes
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
Version 232:
|
||||
|
||||
* Fix close_socket for net::basic_socket changes
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Version 231:
|
||||
|
||||
* Doc section names are stable
|
||||
|
@@ -435,10 +435,13 @@ using is_async_stream = std::integral_constant<bool,
|
||||
|
||||
@see close_socket
|
||||
*/
|
||||
template<class Protocol>
|
||||
template<
|
||||
class Protocol,
|
||||
class Executor>
|
||||
void
|
||||
beast_close_socket(
|
||||
net::basic_socket<Protocol>& sock)
|
||||
net::basic_socket<
|
||||
Protocol, Executor>& sock)
|
||||
{
|
||||
boost::system::error_code ec;
|
||||
sock.close(ec);
|
||||
|
Reference in New Issue
Block a user