diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-03 21:57:58 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-03 21:57:58 +0000 |
commit | 81e793231db61ca4efccda51b0d41b223e0b0a39 (patch) | |
tree | d26c09e6a3752c079421612c20610b1f1b2a91b2 /src/modules | |
parent | ea4da0eb2d0eb58ba12bafab51de672d2c45c440 (diff) |
Second part of fix, in theory
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7646 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |