diff options
| author | 2007-10-13 17:13:15 +0000 | |
|---|---|---|
| committer | 2007-10-13 17:13:15 +0000 | |
| commit | 5ee83046945a0ca415f49a43b5563b4696f9ee7a (patch) | |
| tree | 59ed9c860b2b5fe76fbd7fba3ba531978518d21a /src/inspsocket.cpp | |
| parent | Silent CHGIDENT for ulines to prevent noisyness from anope (diff) | |
Fix potential for ssl to block, based on patch submitted by djGrrr, adjusted for trunk new socket engine, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8154 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspsocket.cpp')
| -rw-r--r-- | src/inspsocket.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 98c9d3baa..dc0c5beba 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -615,6 +615,8 @@ bool InspSocket::Poll() } else #endif + Instance->SE->NonBlocking(incoming); + recvip = inet_ntoa(((sockaddr_in*)client)->sin_addr); this->OnIncomingConnection(incoming, (char*)recvip.c_str()); |
