From 54e8b62b8773a67e4065f1d1397443155aaaa379 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 4 Nov 2014 23:02:56 +0100 Subject: [PATCH] Fix #719: Disable SSL compression --- src/Socket.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Socket.cpp b/src/Socket.cpp index f709089b..57f89422 100644 --- a/src/Socket.cpp +++ b/src/Socket.cpp @@ -21,6 +21,7 @@ CZNCSock::CZNCSock(int timeout) : Csock(timeout) { #ifdef HAVE_LIBSSL + DisableSSLCompression(); DisableSSLProtocols(EDP_SSL); CString sCipher = CZNC::Get().GetSSLCiphers(); if (!sCipher.empty()) { @@ -31,6 +32,7 @@ CZNCSock::CZNCSock(int timeout) : Csock(timeout) { CZNCSock::CZNCSock(const CString& sHost, u_short port, int timeout) : Csock(sHost, port, timeout) { #ifdef HAVE_LIBSSL + DisableSSLCompression(); DisableSSLProtocols(EDP_SSL); CString sCipher = CZNC::Get().GetSSLCiphers(); if (!sCipher.empty()) {