Skip to content

Commit 9f123b3

Browse files
Pavel Pushkarevdeanberris
authored andcommitted
Allowed IPv6 connections by fixing the resolver
1 parent 83bd921 commit 9f123b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boost/network/protocol/http/policies/async_resolver.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct async_resolver : boost::enable_shared_from_this<async_resolver<Tag> > {
5353
}
5454
}
5555

56-
typename resolver_type::query q(resolver_type::protocol_type::v4(), host,
56+
typename resolver_type::query q(host,
5757
lexical_cast<string_type>(port));
5858
resolver_.async_resolve(q, resolver_strand_->wrap(boost::bind(
5959
&async_resolver<Tag>::handle_resolve,

0 commit comments

Comments
 (0)