Skip to content

Commit 2047a63

Browse files
committed
Merge branch '0.9-devel' of github.com:mikhailberis/cpp-netlib into 0.9-devel
2 parents 9584345 + 28de578 commit 2047a63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boost/network/protocol/http/server/async_server.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ namespace boost { namespace network { namespace http {
141141
BOOST_NETWORK_MESSAGE("Error opening socket: " << address_ << ":" << port_);
142142
return;
143143
}
144+
socket_options_base::acceptor_options(acceptor);
144145
acceptor.bind(endpoint, error);
145146
if (error) {
146147
BOOST_NETWORK_MESSAGE("Error binding socket: " << address_ << ":" << port_);
147148
return;
148149
}
149-
socket_options_base::acceptor_options(acceptor);
150150
acceptor.listen(asio::socket_base::max_connections, error);
151151
if (error) {
152152
BOOST_NETWORK_MESSAGE("Error listening on socket: '" << error << "' on " << address_ << ":" << port_);

0 commit comments

Comments
 (0)