From ea4da0eb2d0eb58ba12bafab51de672d2c45c440 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 3 Aug 2007 21:46:14 +0000 Subject: Attempt fix for openssl buffer issue (fix was already here but experimental and commented out) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7644 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_openssl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index ee273bbe3..5e5a853b4 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -810,10 +810,10 @@ class ModuleSSLOpenSSL : public Module void MakePollWrite(issl_session* session) { - OnRawSocketWrite(session->fd, NULL, 0); - //EventHandler* eh = ServerInstance->FindDescriptor(session->fd); - //if (eh) - // ServerInstance->SE->WantWrite(eh); + //OnRawSocketWrite(session->fd, NULL, 0); + EventHandler* eh = ServerInstance->FindDescriptor(session->fd); + if (eh) + ServerInstance->SE->WantWrite(eh); } void CloseSession(issl_session* session) -- cgit v1.2.3