We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4057db commit 088bcbdCopy full SHA for 088bcbd
boost/network/protocol/http/client/connection/async_normal.hpp
@@ -250,13 +250,13 @@ struct http_async_connection
250
body_callback_function_type callback,
251
boost::system::error_code const& ec,
252
std::size_t bytes_transferred) {
253
- static long short_read_error = 335544539;
+ static const long short_read_error = 335544539;
254
bool is_ssl_short_read_error =
255
#ifdef BOOST_NETWORK_ENABLE_HTTPS
256
ec.category() == asio::error::ssl_category &&
257
ec.value() == short_read_error;
258
#else
259
- false;
+ false && short_read_error;
260
#endif
261
if (!ec || ec == boost::asio::error::eof || is_ssl_short_read_error) {
262
logic::tribool parsed_ok;
0 commit comments