forked from premiere/premiere-libtorrent
fixed redirect bug in http connection
This commit is contained in:
parent
3a7bdde864
commit
16114ab27c
|
@ -293,6 +293,7 @@ void http_connection::start(std::string const& hostname, std::string const& port
|
|||
#if defined TORRENT_ASIO_DEBUGGING
|
||||
add_outstanding_async("http_connection::on_resolve");
|
||||
#endif
|
||||
m_endpoints.clear();
|
||||
tcp::resolver::query query(hostname, port);
|
||||
m_resolver.async_resolve(query, boost::bind(&http_connection::on_resolve
|
||||
, me, _1, _2));
|
||||
|
|
Loading…
Reference in New Issue