]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/beast: fix interaction between keepalive and 100-continue
authorCasey Bodley <cbodley@redhat.com>
Thu, 5 Jan 2023 16:30:03 +0000 (11:30 -0500)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Fri, 3 Mar 2023 03:14:51 +0000 (10:14 +0700)
commitc9d0a4620c69199e57b8401c49a54e84a8772c5a
treefd95968b3d09d2483a1f33749e94e70e09381172
parent4789b109c0f782834477367985a8ee854f1b4866
rgw/beast: fix interaction between keepalive and 100-continue

if we reject a request with a "Expect: 100-continue" header before
sending a "100 Continue" response, the keepalive logic should not try to
read/discard request body before parsing the next request headers

Fixes: https://tracker.ceph.com/issues/58286
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 4358cf2a6a60d780791322f17cb216addd8ddae6)
src/rgw/rgw_asio_frontend.cc