update boost 1.87
This commit is contained in:
parent
71056ba1b3
commit
9af561dc10
@ -26,7 +26,11 @@ void ProxyListener::run(boost::system::error_code &error) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if BOOST_VERSION < 108700
|
||||||
m_acceptor.listen(boost::asio::ip::tcp::socket::max_connections, error);
|
m_acceptor.listen(boost::asio::ip::tcp::socket::max_connections, error);
|
||||||
|
#else
|
||||||
|
m_acceptor.listen(boost::asio::socket_base::max_listen_connections, error);
|
||||||
|
#endif
|
||||||
if (error) {
|
if (error) {
|
||||||
LOG(error) << error.message();
|
LOG(error) << error.message();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user