X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fidentserver.h;h=6c7340db9a6f9d2d27b98639961d701b467c72c9;hp=f8fa0940e9537f18c412ebd4809084107b410401;hb=8bdfd0d16857c508f543298ad98f6262127f2886;hpb=cc6e7c08709c4e761e2fd9c2e322751015497003 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