Always release socket to allow consecutive HTTPS connections

This commit is contained in:
Janek Bevendorff 2017-02-15 23:10:18 +01:00
parent a0ebbf997d
commit 86f2c9d350

View File

@ -62,7 +62,6 @@ public:
}
void initializeSocket() {
if ( isocket.isOpen() ) {
// no need to reconnect. do nothing and simply return
if ( ikeepAlive )
return;
@ -70,7 +69,6 @@ public:
// close previous connection now!
// instead being called by emitted disconnected signal
release();
}
ikeepAlive = false;