mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +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
|
||||
|
||||
* Update networking refresher doc
|
||||
* Include error code in call to set_option
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@ -31,7 +31,7 @@ listener(
|
||||
}
|
||||
|
||||
// Allow address reuse
|
||||
acceptor_.set_option(net::socket_base::reuse_address(true));
|
||||
acceptor_.set_option(net::socket_base::reuse_address(true), ec);
|
||||
if(ec)
|
||||
{
|
||||
fail(ec, "set_option");
|
||||
|
Reference in New Issue
Block a user