diff options
Diffstat (limited to 'src/protocols/fingerclient.cpp')
| -rw-r--r-- | src/protocols/fingerclient.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/protocols/fingerclient.cpp b/src/protocols/fingerclient.cpp index ee62ce1..e7b6c0d 100644 --- a/src/protocols/fingerclient.cpp +++ b/src/protocols/fingerclient.cpp @@ -94,5 +94,10 @@ void FingerClient::on_finished() void FingerClient::on_socketError(QAbstractSocket::SocketError error_code) { + // Same as GopherClient::on_SocketError. See there for explanation + if (error_code == QAbstractSocket::RemoteHostClosedError) { + socket.close(); + return; + } this->emitNetworkError(error_code, socket.errorString()); } |
