]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/multisite: forwarded requests always pass a bufferlist 54888/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 13 Dec 2023 14:30:35 +0000 (09:30 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 13 Dec 2023 14:30:37 +0000 (09:30 -0500)
commit6b04749215de73b74007e6496f0ca68af78c13b1
tree3608b04c7139acbdc2ee79e9ebd71f437cf10de8
parent7a2be8a901fa0ddeaaee7446d8e4fdf60fc355ea
rgw/multisite: forwarded requests always pass a bufferlist

d2dbe7550296da6db885b5344c71f77f9acbfd8f added a rgw_forward_request_to_master()
that took the input bufferlist by pointer instead of reference so it
could be optional; however, RGWRESTSimpleRequest::forward_request()
omits the Content-Length header when the data is nullptr. this was an
unintended change and broke the forwarding of some requests

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_op.cc