Actions
Feature #50262
closedrgw header size limit should configurable
Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Hi all.
Many applications has large cookie header (total headers size is larger than 4KB), when a request put or get file from radosgw it return 400 status.
I not found options to config header size limit. I found this in rgw_asio_frontend.cc file.
static constexpr size_t header_limit = 4096;
It should increase to 8K, and the best is configurable.
I search some header size limit of other webserver.
Apache 2.0, 2.2: 8K
nginx: 4K - 8K
IIS: varies by version, 8K - 16K
Tomcat: varies by version, 8K - 48K
Nodejs : 8 - 16KB
Thanks.
Updated by Casey Bodley about 21 hours ago
- Is duplicate of Feature #53546: rgw/beast: add max_header_size option with 16k default, up from 4k added
Actions