From 5ee83046945a0ca415f49a43b5563b4696f9ee7a Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 13 Oct 2007 17:13:15 +0000 Subject: 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 --- src/inspsocket.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/inspsocket.cpp') 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()); -- cgit v1.2.3