X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fidentserver.h;h=6c7340db9a6f9d2d27b98639961d701b467c72c9;hb=HEAD;hp=f8fa0940e9537f18c412ebd4809084107b410401;hpb=cc6e7c08709c4e761e2fd9c2e322751015497003;p=quassel.git diff --git a/src/core/identserver.h b/src/core/identserver.h index f8fa0940..94d9815e 100644 --- a/src/core/identserver.h +++ b/src/core/identserver.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 by the Quassel Project * + * Copyright (C) 2005-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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