diff options
| author | 2007-10-13 17:10:43 +0000 | |
|---|---|---|
| committer | 2007-10-13 17:10:43 +0000 | |
| commit | 2a56a80c3df39b27658da2726c22f352aa84e2a2 (patch) | |
| tree | 3789c4125c4566137810ffaf260772034b075732 /src/inspsocket.cpp | |
| parent | Silent CHGIDENT for ulines to prevent noisyness from anope (diff) | |
Merge in http://www.p2p-network.net/patches/blocking_fix.patch to fix random blocking on ssl sockets on some systems, provided by djGrrr and Stskeeps, thanks
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8153 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspsocket.cpp')
| -rw-r--r-- | src/inspsocket.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index d2f432178..616352f74 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -18,6 +18,7 @@ #include "inspircd.h" using irc::sockets::OpenTCPSocket; +using irc::sockets::NonBlocking; bool InspSocket::Readable() { @@ -631,6 +632,8 @@ bool InspSocket::Poll() recvip = inet_ntoa(((sockaddr_in*)client)->sin_addr); this->OnIncomingConnection(incoming, (char*)recvip.c_str()); + NonBlocking(incoming); + if (this->IsIOHooked) { try |
