Skip to content

Commit 5d5fbd5

Browse files
committed
MB-66512: Increase max frame size for unauthenticated clients...
... to 16k (a JWT may be up to 8k) and the default max read size is 16k anyway Change-Id: I7bca0bf312889413b0a874fe7abb367a67df69ca Reviewed-on: https://review.couchbase.org/c/kv_engine/+/227058 Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Dan Owen <owend@couchbase.com>
1 parent 92824c7 commit 5d5fbd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daemon/connection_libevent.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/// consume memory on the server (for instance send everything except
3232
/// the last byte of a request and let the server be stuck waiting
3333
/// for the last byte of a 20MB command)
34-
static constexpr size_t MaxUnauthenticatedFrameSize = 1024;
34+
static constexpr size_t MaxUnauthenticatedFrameSize = 16 * 1024;
3535

3636
LibeventConnection::LibeventConnection(SOCKET sfd,
3737
FrontEndThread& thr,

0 commit comments

Comments
 (0)