network: drop redundant check for loopback address
As long as a domain name is used for host(which is already checked for beforehand) we don't care what exact IP it resolves to and this check seems to cause trouble with mandatory tls servers on some setups.
This commit is contained in:
parent
915d9c5aba
commit
7470be89b0
1 changed files with 0 additions and 3 deletions
|
@ -122,9 +122,6 @@ void connection::handle_connect(const boost::system::error_code& ec, endpoint en
|
|||
} else {
|
||||
LOG_NW << "Connected to " << endpoint.address();
|
||||
|
||||
if(endpoint.address().is_loopback()) {
|
||||
use_tls_ = false;
|
||||
}
|
||||
handshake();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue