Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit913ada7

Browse files
committed
Fixes http::async_connection::default_error that always set error flag
1 parent3410708 commit913ada7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎boost/network/protocol/http/server/async_connection.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ struct async_connection
334334
}
335335

336336
voiddefault_error(boost::system::error_codeconst& ec) {
337-
error_encountered = in_place<boost::system::system_error>(ec);
337+
if (ec)error_encountered = in_place<boost::system::system_error>(ec);
338338
}
339339

340340
typedef boost::array<char, BOOST_NETWORK_HTTP_SERVER_CONNECTION_BUFFER_SIZE>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp