X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fidentserver.h;h=3a2051aa0a20e9db656e9947cab85a27613102fe;hb=df38a9238d603ec8d2040619befa50980d994916;hp=f9f26a7732b3d0a89568641f9e25f839f93ec930;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/core/identserver.h b/src/core/identserver.h index f9f26a77..3a2051aa 100644 --- a/src/core/identserver.h +++ b/src/core/identserver.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2020 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