projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve identd
[quassel.git]
/
src
/
core
/
identserver.h
diff --git
a/src/core/identserver.h
b/src/core/identserver.h
index
f8fa094
..
6c7340d
100644
(file)
--- a/
src/core/identserver.h
+++ b/
src/core/identserver.h
@@
-35,6
+35,7
@@
struct Request
{
QPointer<QTcpSocket> socket;
uint16_t localPort;
{
QPointer<QTcpSocket> socket;
uint16_t localPort;
+ uint16_t remotePort;
QString query;
qint64 transactionId;
qint64 requestId;
QString query;
qint64 transactionId;
qint64 requestId;
@@
-43,6
+44,8
@@
struct Request
void respondSuccess(const QString& user);
void respondError(const QString& error);
void respondSuccess(const QString& user);
void respondError(const QString& error);
+
+ const static int DISCONNECTION_TIMEOUT = 500;
};
class IdentServer : public QObject
};
class IdentServer : public QObject