We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3410708 commit 913ada7Copy full SHA for 913ada7
boost/network/protocol/http/server/async_connection.hpp
@@ -334,7 +334,7 @@ struct async_connection
334
}
335
336
void default_error(boost::system::error_code const& ec) {
337
- error_encountered = in_place<boost::system::system_error>(ec);
+ if (ec) error_encountered = in_place<boost::system::system_error>(ec);
338
339
340
typedef boost::array<char, BOOST_NETWORK_HTTP_SERVER_CONNECTION_BUFFER_SIZE>
0 commit comments