]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/beast: fix interaction between keepalive and 100-continue 49840/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 5 Jan 2023 16:30:03 +0000 (11:30 -0500)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Tue, 24 Jan 2023 03:25:14 +0000 (10:25 +0700)
commit2018231ff42f9757a7d7e1c63e0e86ce97466765
tree8fa5e9b590df639beeaadf228c6829b11ced4c21
parente2e19d5e2c4421d2bd3ea0d645411d91cdf05b3a
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