Actions
Bug #16995
openrgw files can't upload
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
When I upload a file。rgw response ERR_LENGTH_REQUIRED。
this means file length is empty。I see the rgw log,I find nginx send CONTENT_LENGTH=638 and HTTP_CONTENT_LENGTH=638.
In RGWREST::preprocess 1703 line:
if (!http_content_length content_length) {
/* Easy case: one or the other is missing */
s->length = (content_length ? content_length : http_content_length);
this mean that if content_length and http_content_length is the same existed,length is null。I think that If content_length is the same to http_content_length ,length should not is Null
Updated by Yehuda Sadeh over 7 years ago
Try adding 'rgw content length compat = true' to your rgw config in ceph.conf.
Actions