Skip to content

Commit d444579

Browse files
committed
Merge pull request cpp-netlib#175 from degiz/0.9-devel
bug fixed whis client doesnt invoke callback when cant resolve adress (fixes cpp-netlib#174)
2 parents 1bf4e26 + 3f27c3a commit d444579

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ namespace boost { namespace network { namespace http { namespace impl {
171171
placeholders::error)));
172172
} else {
173173
set_errors(ec ? ec : boost::asio::error::host_not_found);
174+
boost::iterator_range<const char*> range;
175+
callback(range,ec);
174176
}
175177
}
176178
}

0 commit comments

Comments
 (0)