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

Commit2e27eee

Browse files
committed
Merge pull request#295 from deanberris/0.11-devel
Appease Clang
2 parentsecbd636 +088bcbd commit2e27eee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎boost/network/protocol/http/client/connection/async_normal.hpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,13 +250,13 @@ struct http_async_connection
250250
body_callback_function_type callback,
251251
boost::system::error_codeconst& ec,
252252
std::size_t bytes_transferred) {
253-
staticlong short_read_error =335544539;
253+
staticconstlong short_read_error =335544539;
254254
bool is_ssl_short_read_error =
255255
#ifdef BOOST_NETWORK_ENABLE_HTTPS
256256
ec.category() == asio::error::ssl_category &&
257257
ec.value() == short_read_error;
258258
#else
259-
false;
259+
false && short_read_error;
260260
#endif
261261
if (!ec || ec == boost::asio::error::eof || is_ssl_short_read_error) {
262262
logic::tribool parsed_ok;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp