1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 01:46:38 +02:00

Made Anope able to process normally when disconnected from the uplink and not sleep(), enable usage of non-blocking connect() and default all sockets to non blocking mode. Some cleanup to m_ssl and some cleanup to main.cpp.

This commit is contained in:
Adam
2011-05-21 04:57:27 -04:00
parent 7e5727288d
commit 115f94bfc2
30 changed files with 547 additions and 469 deletions
+2
View File
@@ -37,6 +37,8 @@ void SocketEngine::Init()
void SocketEngine::Shutdown()
{
Process();
for (std::map<int, Socket *>::const_iterator it = Sockets.begin(), it_end = Sockets.end(); it != it_end; ++it)
delete it->second;
Sockets.clear();