From 72ffd5eb1adf2557548982ed533bb4397f1c971f Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Mon, 5 Mar 2018 22:25:58 +0100 Subject: [PATCH] disabled ssl for the time being --- src/linux_tcp/tcpresolver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linux_tcp/tcpresolver.h b/src/linux_tcp/tcpresolver.h index 231e5f8..70f85d7 100644 --- a/src/linux_tcp/tcpresolver.h +++ b/src/linux_tcp/tcpresolver.h @@ -20,7 +20,7 @@ #include "tcpstate.h" #include "tcpclosed.h" #include "tcpconnected.h" -#include "tcpsslhandshake.h" +//#include "tcpsslhandshake.h" #include /** @@ -190,7 +190,7 @@ public: if (_socket >= 0) { // if we need a secure connection, we move to the tls handshake - if (_secure) return new TcpSslHandshake(_connection, _socket, _hostname, std::move(_buffer), _handler); + //if (_secure) return new TcpSslHandshake(_connection, _socket, _hostname, std::move(_buffer), _handler); // otherwise we have a valid regular tcp connection return new TcpConnected(_connection, _socket, std::move(_buffer), _handler);