Project

General

Profile

Actions

Feature #50262

closed

rgw header size limit should configurable

Added by hoan nv about 3 years ago. Updated about 21 hours ago.

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.


Related issues 1 (0 open1 closed)

Is duplicate of rgw - Feature #53546: rgw/beast: add max_header_size option with 16k default, up from 4kResolvedCasey Bodley

Actions
Actions #1

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 #2

Updated by Casey Bodley about 21 hours ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF