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 3079bda commit 4054936Copy full SHA for 4054936
include/network/protocol/http/client/connection/async_normal.ipp
@@ -741,7 +741,11 @@ struct http_async_connection_pimpl : boost::enable_shared_from_this<http_async_c
741
content_length_ = std::stoul(it->second);
742
NETWORK_MESSAGE("Content-Length: " << *content_length_);
743
} catch(const std::invalid_argument&) {
744
+ NETWORK_MESSAGE("invalid argument exception while interpreting "
745
+ << it->second << " as content length");
746
} catch(const std::out_of_range&) {
747
+ NETWORK_MESSAGE("out of range exception while interpreting "
748
749
}
750
751
headers_promise.set_value(headers);
0 commit comments