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 8db7bf7 commit 68c3caaCopy full SHA for 68c3caa
boost/network/protocol/http/client/connection/async_normal.hpp
@@ -172,7 +172,7 @@ namespace boost { namespace network { namespace http { namespace impl {
172
} else {
173
set_errors(ec ? ec : boost::asio::error::host_not_found);
174
boost::iterator_range<const char*> range;
175
- callback(range,ec);
+ if (callback) callback(range,ec);
176
}
177
178
0 commit comments