diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-05 14:43:58 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-05 14:43:58 +0000 |
commit | 7ab3a0d78dbbb373ab1c55fb9a0295c46720ad9b (patch) | |
tree | d6c3e789f55791c4cf8de7400a09ba331067e21c /src/modules | |
parent | 82ce717cd28878019efd2303aab1ea7e3ae98e16 (diff) |
Try this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7663 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 0dfc9dd29..00c4c5fa3 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -549,6 +549,7 @@ class ModuleSSLOpenSSL : public Module } session->outbuf.append(buffer, count); + MakePollWrite(session); if (session->status == ISSL_HANDSHAKING) { @@ -589,8 +590,6 @@ class ModuleSSLOpenSSL : public Module } else if (ret < 0) { - MakePollWrite(session); - int err = SSL_get_error(session->sess, ret); if (err == SSL_ERROR_WANT_WRITE) @@ -612,7 +611,6 @@ class ModuleSSLOpenSSL : public Module else { session->outbuf = session->outbuf.substr(ret); - MakePollWrite(session); return ret; } } |