X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fidentserver.h;h=6c7340db9a6f9d2d27b98639961d701b467c72c9;hb=8bdfd0d16857c508f543298ad98f6262127f2886;hp=f8fa0940e9537f18c412ebd4809084107b410401;hpb=d06a8048f0c93c7e063031739ad8e606b91a6f6c;p=quassel.git diff --git a/src/core/identserver.h b/src/core/identserver.h index f8fa0940..6c7340db 100644 --- a/src/core/identserver.h +++ b/src/core/identserver.h @@ -35,6 +35,7 @@ struct Request { QPointer socket; uint16_t localPort; + uint16_t remotePort; QString query; qint64 transactionId; qint64 requestId; @@ -43,6 +44,8 @@ struct Request void respondSuccess(const QString& user); void respondError(const QString& error); + + const static int DISCONNECTION_TIMEOUT = 500; }; class IdentServer : public QObject