mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 21:07:26 +02:00
@ -2,6 +2,7 @@ Version 158:
|
|||||||
|
|
||||||
* Tidy up end_of_stream javadoc
|
* Tidy up end_of_stream javadoc
|
||||||
* Tidy up websocket docs
|
* Tidy up websocket docs
|
||||||
|
* Examples set reuse_address(true)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -73,6 +73,7 @@ to update to the latest Boost release.
|
|||||||
* [link beast.ref.boost__beast__bind_handler `bind_handler`]
|
* [link beast.ref.boost__beast__bind_handler `bind_handler`]
|
||||||
works with boost placeholders
|
works with boost placeholders
|
||||||
|
|
||||||
|
* Examples set `reuse_address(true)`
|
||||||
|
|
||||||
[*Fixes]
|
[*Fixes]
|
||||||
|
|
||||||
|
@ -1171,6 +1171,14 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor_.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
{
|
||||||
|
fail(ec, "set_option");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor_.bind(endpoint, ec);
|
acceptor_.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
@ -722,6 +722,14 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor_.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
{
|
||||||
|
fail(ec, "set_option");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor_.bind(endpoint, ec);
|
acceptor_.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
@ -419,6 +419,14 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor_.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
{
|
||||||
|
fail(ec, "set_option");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor_.bind(endpoint, ec);
|
acceptor_.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
@ -380,6 +380,14 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor_.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
{
|
||||||
|
fail(ec, "set_option");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor_.bind(endpoint, ec);
|
acceptor_.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
@ -325,6 +325,11 @@ do_listen(
|
|||||||
if(ec)
|
if(ec)
|
||||||
return fail(ec, "open");
|
return fail(ec, "open");
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
return fail(ec, "set_option");
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor.bind(endpoint, ec);
|
acceptor.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
@ -309,6 +309,11 @@ do_listen(
|
|||||||
if(ec)
|
if(ec)
|
||||||
return fail(ec, "open");
|
return fail(ec, "open");
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
return fail(ec, "set_option");
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor.bind(endpoint, ec);
|
acceptor.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
@ -591,6 +591,14 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor_.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
{
|
||||||
|
fail(ec, "set_option");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor_.bind(endpoint, ec);
|
acceptor_.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
@ -405,6 +405,14 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor_.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
{
|
||||||
|
fail(ec, "set_option");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor_.bind(endpoint, ec);
|
acceptor_.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
@ -372,6 +372,14 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor_.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
{
|
||||||
|
fail(ec, "set_option");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor_.bind(endpoint, ec);
|
acceptor_.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
@ -191,6 +191,14 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor_.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
{
|
||||||
|
fail(ec, "set_option");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor_.bind(endpoint, ec);
|
acceptor_.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
@ -165,6 +165,14 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor_.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
{
|
||||||
|
fail(ec, "set_option");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor_.bind(endpoint, ec);
|
acceptor_.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
@ -106,6 +106,11 @@ do_listen(
|
|||||||
if(ec)
|
if(ec)
|
||||||
return fail(ec, "open");
|
return fail(ec, "open");
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
return fail(ec, "set_option");
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor.bind(endpoint, ec);
|
acceptor.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
@ -92,6 +92,11 @@ do_listen(
|
|||||||
if(ec)
|
if(ec)
|
||||||
return fail(ec, "open");
|
return fail(ec, "open");
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
return fail(ec, "set_option");
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor.bind(endpoint, ec);
|
acceptor.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
@ -268,6 +268,14 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor_.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
{
|
||||||
|
fail(ec, "set_option");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor_.bind(endpoint, ec);
|
acceptor_.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
@ -376,6 +384,10 @@ do_coro_listen(
|
|||||||
if(ec)
|
if(ec)
|
||||||
return fail(ec, "open");
|
return fail(ec, "open");
|
||||||
|
|
||||||
|
acceptor.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
return fail(ec, "set_option");
|
||||||
|
|
||||||
acceptor.bind(endpoint, ec);
|
acceptor.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
return fail(ec, "bind");
|
return fail(ec, "bind");
|
||||||
|
@ -179,6 +179,14 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor_.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
{
|
||||||
|
fail(ec, "set_option");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor_.bind(endpoint, ec);
|
acceptor_.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
@ -156,6 +156,14 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow address reuse
|
||||||
|
acceptor_.set_option(boost::asio::socket_base::reuse_address(true));
|
||||||
|
if(ec)
|
||||||
|
{
|
||||||
|
fail(ec, "set_option");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Bind to the server address
|
// Bind to the server address
|
||||||
acceptor_.bind(endpoint, ec);
|
acceptor_.bind(endpoint, ec);
|
||||||
if(ec)
|
if(ec)
|
||||||
|
Reference in New Issue
Block a user