disabled ssl for the time being
This commit is contained in:
parent
463eed89c0
commit
72ffd5eb1a
|
|
@ -20,7 +20,7 @@
|
||||||
#include "tcpstate.h"
|
#include "tcpstate.h"
|
||||||
#include "tcpclosed.h"
|
#include "tcpclosed.h"
|
||||||
#include "tcpconnected.h"
|
#include "tcpconnected.h"
|
||||||
#include "tcpsslhandshake.h"
|
//#include "tcpsslhandshake.h"
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -190,7 +190,7 @@ public:
|
||||||
if (_socket >= 0)
|
if (_socket >= 0)
|
||||||
{
|
{
|
||||||
// if we need a secure connection, we move to the tls handshake
|
// 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
|
// otherwise we have a valid regular tcp connection
|
||||||
return new TcpConnected(_connection, _socket, std::move(_buffer), _handler);
|
return new TcpConnected(_connection, _socket, std::move(_buffer), _handler);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue