mirror of
https://github.com/boostorg/beast.git
synced 2025-08-05 07:44:35 +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:
|
Version 231:
|
||||||
|
|
||||||
* Doc section names are stable
|
* Doc section names are stable
|
||||||
|
@@ -435,10 +435,13 @@ using is_async_stream = std::integral_constant<bool,
|
|||||||
|
|
||||||
@see close_socket
|
@see close_socket
|
||||||
*/
|
*/
|
||||||
template<class Protocol>
|
template<
|
||||||
|
class Protocol,
|
||||||
|
class Executor>
|
||||||
void
|
void
|
||||||
beast_close_socket(
|
beast_close_socket(
|
||||||
net::basic_socket<Protocol>& sock)
|
net::basic_socket<
|
||||||
|
Protocol, Executor>& sock)
|
||||||
{
|
{
|
||||||
boost::system::error_code ec;
|
boost::system::error_code ec;
|
||||||
sock.close(ec);
|
sock.close(ec);
|
||||||
|
Reference in New Issue
Block a user