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
/
core
/
corenetwork.cpp
diff --git
a/src/core/corenetwork.cpp
b/src/core/corenetwork.cpp
index
87f1484
..
206b019
100644
(file)
--- a/
src/core/corenetwork.cpp
+++ b/
src/core/corenetwork.cpp
@@
-439,6
+439,8
@@
void CoreNetwork::socketInitialized()
return;
#endif
+ socket.setSocketOption(QAbstractSocket::KeepAliveOption, true);
+
CoreIdentity *identity = identityPtr();
if (!identity) {
qCritical() << "Identity invalid!";