mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 04:47:29 +02:00
Include error code in call to set_option
This commit is contained in:
committed by
Vinnie Falco
parent
3595eb2221
commit
be800436ea
@ -1,6 +1,7 @@
|
|||||||
Version 203
|
Version 203
|
||||||
|
|
||||||
* Update networking refresher doc
|
* Update networking refresher doc
|
||||||
|
* Include error code in call to set_option
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ listener(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Allow address reuse
|
// Allow address reuse
|
||||||
acceptor_.set_option(net::socket_base::reuse_address(true));
|
acceptor_.set_option(net::socket_base::reuse_address(true), ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
{
|
{
|
||||||
fail(ec, "set_option");
|
fail(ec, "set_option");
|
||||||
|
Reference in New Issue
Block a user