]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/beast: add max_header_size option with 16k default, up from 4k 52113/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 19 Nov 2021 19:49:16 +0000 (14:49 -0500)
committerCasey Bodley <cbodley@redhat.com>
Mon, 19 Jun 2023 14:34:23 +0000 (10:34 -0400)
commit584cc66ee133a2a75b5ae1b4920b680d06ce4aee
tree1ccd43ee4cc8d8d6cb0ceedc6913d45a382d57d3
parentbda07a66e1503394e0e172fa530e793f4be82cf3
rgw/beast: add max_header_size option with 16k default, up from 4k

in f13c6914eba9ad05c7bcff6eda81bb858f0f2349, we switched to a static 64k
parse buffer. this gives us a lot of room to raise the header_limit
above 4k

adds a "max_header_size" frontend option with default 16k and maximum
value equal to the 64k parse buffer size

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit d9f4940140e03f29a4e30b6e9811854ca51e7748)
doc/radosgw/frontends.rst
src/rgw/rgw_asio_frontend.cc