mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
connection: Remove unused timeout feature
Was only used for a unit test and incorrectly at that.
This commit is contained in:
parent
6608057971
commit
1b8b84bee8
7 changed files with 24 additions and 50 deletions
|
@ -398,8 +398,6 @@ void Client::connect(const Address &address, const std::string &address_name,
|
|||
address.print(infostream);
|
||||
infostream << std::endl;
|
||||
|
||||
// Since we use TryReceive() a timeout here would be ineffective anyway
|
||||
m_con->SetTimeoutMs(0);
|
||||
m_con->Connect(address);
|
||||
|
||||
initLocalMapSaving(address, m_address_name, is_local_server);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue