improved SOCKS5 support
This commit is contained in:
@@ -71,7 +71,8 @@ void http_connect_handler(http_connection& c)
|
||||
error_code ec;
|
||||
std::cerr << "connected to: " << print_endpoint(c.socket().remote_endpoint(ec))
|
||||
<< std::endl;
|
||||
TEST_CHECK(c.socket().remote_endpoint(ec).address() == address::from_string("127.0.0.1", ec));
|
||||
// this is not necessarily true when using a proxy and proxying hostnames
|
||||
// TEST_CHECK(c.socket().remote_endpoint(ec).address() == address::from_string("127.0.0.1", ec));
|
||||
}
|
||||
|
||||
void http_handler(error_code const& ec, http_parser const& parser
|
||||
|
Reference in New Issue
Block a user