]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: make sending Content-Length in 204 and 304 controllable 13503/head
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Thu, 16 Feb 2017 23:56:34 +0000 (00:56 +0100)
committerMatt Benjamin <mbenjamin@redhat.com>
Mon, 27 Mar 2017 22:36:27 +0000 (18:36 -0400)
commitd44263fc91da12ea0ad4fec0cd2877b36ddb9e9f
tree094a12c1933063ec5fd3471fccb71e44ec555d7b
parent5cda5722e05784163190b6110dcc2dd164142e90
rgw: make sending Content-Length in 204 and 304 controllable

This commit introduces a new configurable "rgw print prohibited
content length" to let operator decide whether RadosGW complies
to RFC 7230 (a part of the HTTP specification) or violates it
but follows the Swift's behavior.

Fixes: http://tracker.ceph.com/issues/16602
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit d8e3e64ec97a3c222a56bb6f510e5e23d7858615)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/common/config_opts.h
src/rgw/rgw_civetweb.cc
src/rgw/rgw_fcgi.cc