Project

General

Profile

Actions

Bug #12830

closed

S3 PUT Object returns 411 Length Required after upgrading to 0.94.3

Added by Benjamin Gilbert over 8 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

rgw 0.94.3, nginx 1.8.0, RHEL 6.6.

After upgrading from 0.94.2, S3 PUT Object operations return 411 Length Required. It seems that https://github.com/ceph/ceph/pull/4436 breaks FastCGI uploads through web servers that send both HTTP_CONTENT_LENGTH and CONTENT_LENGTH, unless the "make it work" option rgw content length compat is set to true. Since the runtime overhead of the extra test is minimal, and in fact is nonexistent in the "well-behaved" case that only one of HTTP_CONTENT_LENGTH and CONTENT_LENGTH is set, shouldn't the "compat" behavior be enabled unconditionally?

Actions

Also available in: Atom PDF