mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
hide remote socket closed error message in HTTPConnection
This commit is contained in:
parent
f45a509508
commit
1903fff45c
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ HTTPConnection::HTTPConnection (QTcpSocket* socket, HTTPManager* parentManager)
|
|||
|
||||
HTTPConnection::~HTTPConnection() {
|
||||
// log the destruction
|
||||
if (_socket->error() != QAbstractSocket::UnknownSocketError) {
|
||||
if (_socket->error() != QAbstractSocket::UnknownSocketError
|
||||
&& _socket->error() != QAbstractSocket::RemoteHostClosedError) {
|
||||
qDebug() << _socket->errorString() << "-" << _socket->error();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue