mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 19:19:02 -04:00
inbound sockets need a timeout, too. 30 secs should be pleanty
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10560 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
a8a36c9935
commit
14539c29d6
@ -66,6 +66,9 @@ TreeSocket::TreeSocket(SpanningTreeUtilities* Util, InspIRCd* SI, int newfd, cha
|
||||
BufferedSocketHookRequest(this, (Module*)Utils->Creator, Hook).Send();
|
||||
|
||||
Instance->Timers->AddTimer(new HandshakeTimer(Instance, this, &(Utils->LinkBlocks[0]), this->Utils, 1));
|
||||
|
||||
/* Fix by Brain - inbound sockets need a timeout, too. 30 secs should be pleanty */
|
||||
Utils->timeoutlist[this] = std::pair<std::string, int>("<unknown>", 30);
|
||||
}
|
||||
|
||||
ServerState TreeSocket::GetLinkState()
|
||||
|
Loading…
x
Reference in New Issue
Block a user