summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsocket_p.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-02-01 12:54:35 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-02-01 13:05:22 +0100
commitaf5712d929295bc88ddc2c85754da59dbab9a8eb (patch)
treeaf6cc45e5787b412d76349399a66279cb50ec955 /src/websockets/qwebsocket_p.cpp
parent7c3f7183080d378a4c3b1c0ed5b12d137f2a2f40 (diff)
downloadqtwebsockets-af5712d929295bc88ddc2c85754da59dbab9a8eb.tar.gz
Fix CMake Unity (Jumbo) builds
Move clashing constants to QWebSocketPrivate. Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: I6d22f2134683c2fb65b79732b991c7ff05338a8c Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/websockets/qwebsocket_p.cpp')
-rw-r--r--src/websockets/qwebsocket_p.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/websockets/qwebsocket_p.cpp b/src/websockets/qwebsocket_p.cpp
index dfb06ee..e5d0698 100644
--- a/src/websockets/qwebsocket_p.cpp
+++ b/src/websockets/qwebsocket_p.cpp
@@ -41,8 +41,6 @@ using namespace Qt::StringLiterals;
namespace {
-constexpr int MAX_HEADERLINE_LENGTH = 8 * 1024; // maximum length of a http request header line
-constexpr int MAX_HEADERLINES = 100; // maximum number of http request header lines
constexpr quint64 MAX_OUTGOING_FRAME_SIZE_IN_BYTES = std::numeric_limits<int>::max() - 1;
constexpr quint64 DEFAULT_OUTGOING_FRAME_SIZE_IN_BYTES = 512 * 512 * 2; // default size of a frame when sending a message