diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-10-15 20:13:00 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-10-15 20:13:00 +0200 |
commit | 177304d63763e94d38e15de98d791ab12ef17a75 (patch) | |
tree | 980836f07e7529d032d8502bf8773ae7d4b21c8e /src | |
parent | 8e3cc7d5d45e598d5c41ac5ae7597cafbfaac888 (diff) |
m_ssl_openssl Reset data_to_write for new sessions
Diffstat (limited to 'src')
-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 2c7c67cf1..d9dc47569 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -403,6 +403,7 @@ class ModuleSSLOpenSSL : public Module session->sess = SSL_new(ctx); session->status = ISSL_NONE; session->outbound = false; + session->data_to_write = false; if (session->sess == NULL) return; @@ -428,6 +429,7 @@ class ModuleSSLOpenSSL : public Module session->sess = SSL_new(clictx); session->status = ISSL_NONE; session->outbound = true; + session->data_to_write = false; if (session->sess == NULL) return; |