Actions
Bug #45789
openrgw/s3 transfer encoding problems.
% Done:
0%
Source:
Tags:
backport_processed
Backport:
pacific quincy reef
Regression:
No
Severity:
3 - minor
Reviewed:
Description
rgw has a variety of problems dealing with "transfer-encoding: chunked".
/1/ Unconditionally rejects putobj w/o "content-length".
/2/ does not handle boto2 chunked encoding. boto2 emits weird chunk headers, which the current civetweb new rejects.
/3/ rgw w/ civetweb, when given invalid chunk encoding, leaves the input stream positioned in the midst of the bad data, then tries to read another request out of this. This errors out, generates a 500 error inside of civetweb, and no log message in rgw.
This set of problems occurs in both master & newer versions of luminous.
Actions