mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-20 16:05:19 +00:00
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
@ -122,9 +122,6 @@ void connection::handle_connect(const boost::system::error_code& ec, endpoint en
|
|||||||
} else {
|
} else {
|
||||||
LOG_NW << "Connected to " << endpoint.address();
|
LOG_NW << "Connected to " << endpoint.address();
|
||||||
|
|
||||||
if(endpoint.address().is_loopback()) {
|
|
||||||
use_tls_ = false;
|
|
||||||
}
|
|
||||||
handshake();
|
handshake();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user