From 177304d63763e94d38e15de98d791ab12ef17a75 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Wed, 15 Oct 2014 20:13:00 +0200 Subject: m_ssl_openssl Reset data_to_write for new sessions --- src/modules/extra/m_ssl_openssl.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; -- cgit v1.2.3