diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-13 17:13:15 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-13 17:13:15 +0000 |
commit | 5ee83046945a0ca415f49a43b5563b4696f9ee7a (patch) | |
tree | 59ed9c860b2b5fe76fbd7fba3ba531978518d21a /src/inspsocket.cpp | |
parent | e48b7c6e6a735491a4ea7d3f56de54d4be07b03a (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()); |