summaryrefslogtreecommitdiffstats
path: root/src/network/access/qhttp2protocolhandler.cpp
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2023-07-05 15:12:24 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2023-07-10 14:53:34 +0200
commitbabdeb7a10df5b70e36f43ba5657ba4ef6dbfa66 (patch)
tree607a04c00d801286178e6f3d67869de3591e6bf3 /src/network/access/qhttp2protocolhandler.cpp
parent8f4e29cc85862565fa88c9ceb873da351184c75d (diff)
http2: inline a couple static variables
It looks cleaner when it's declared where it's defined. Change-Id: I5006fc086c73e6d4891bc64ff3a8c6b4b17623fe Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/access/qhttp2protocolhandler.cpp')
-rw-r--r--src/network/access/qhttp2protocolhandler.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/network/access/qhttp2protocolhandler.cpp b/src/network/access/qhttp2protocolhandler.cpp
index fe5d7ae9ce..90be29eea2 100644
--- a/src/network/access/qhttp2protocolhandler.cpp
+++ b/src/network/access/qhttp2protocolhandler.cpp
@@ -125,9 +125,6 @@ QUrl urlkey_from_request(const QHttpNetworkRequest &request)
// Since we anyway end up having this in every function definition:
using namespace Http2;
-const std::deque<quint32>::size_type QHttp2ProtocolHandler::maxRecycledStreams = 10000;
-const quint32 QHttp2ProtocolHandler::maxAcceptableTableSize;
-
QHttp2ProtocolHandler::QHttp2ProtocolHandler(QHttpNetworkConnectionChannel *channel)
: QAbstractProtocolHandler(channel),
decoder(HPack::FieldLookupTable::DefaultSize),