summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp2
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;
}