projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
set SO_KEEPALIVE on client sockets
[quassel.git]
/
src
/
client
/
clientauthhandler.cpp
diff --git
a/src/client/clientauthhandler.cpp
b/src/client/clientauthhandler.cpp
index
b122e2f
..
8fc2a73
100644
(file)
--- a/
src/client/clientauthhandler.cpp
+++ b/
src/client/clientauthhandler.cpp
@@
-144,6
+144,8
@@
void ClientAuthHandler::onSocketConnected()
return;
}
+ socket()->setSocketOption(QAbstractSocket::KeepAliveOption, true);
+
_peer = new LegacyPeer(this, socket(), this);
connect(_peer, SIGNAL(transferProgress(int,int)), SIGNAL(transferProgress(int,int)));