From 81e793231db61ca4efccda51b0d41b223e0b0a39 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 3 Aug 2007 21:57:58 +0000 Subject: Second part of fix, in theory git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7646 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_openssl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 5e5a853b4..af73448c9 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -602,6 +602,7 @@ class ModuleSSLOpenSSL : public Module if (err == SSL_ERROR_WANT_WRITE) { session->wstat = ISSL_WRITE; + MakePollWrite(session); return -1; } else if (err == SSL_ERROR_WANT_READ) @@ -652,6 +653,7 @@ class ModuleSSLOpenSSL : public Module else if (err == SSL_ERROR_WANT_WRITE) { session->rstat = ISSL_WRITE; + MakePollWrite(session); ServerInstance->Log(DEBUG,"Setting want_write"); return -1; } -- cgit v1.2.3