forked from TrueCloudLab/s3-tests
5914eb2005
`ERR_TOO_SMALL` is wrongly returned if all of the following are true, - the get_data returns multiple items (chunks) - the length of the last item is smaller than the POST Policy's min value for content-length-range. The check should be `(ofs < min_len)` instead of `(len < min_len)` This is further confirmed by the next line of `s->obj_size = ofs` Move the `int len` scope inside loop to try and prevent the bug in future. The bug was refactored in 2016, but was introduced in Oct 2012, when this functionality was first added to RGW in commit 7bb3504d3f0974e9863f536e9af0ce8889d6888f. Reference: |
||
---|---|---|
.. | ||
__init__.py | ||
policy.py | ||
rgw_interactive.py | ||
test_headers.py | ||
test_iam.py | ||
test_s3.py | ||
test_s3select.py | ||
test_sts.py | ||
test_utils.py | ||
utils.py |