]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
6748: rgw: Optionally return the bucket name in a response header. 915/head
authorWido den Hollander <wido@42on.com>
Mon, 11 Nov 2013 15:37:40 +0000 (16:37 +0100)
committerWido den Hollander <wido@widodh.nl>
Thu, 16 Jan 2014 09:02:50 +0000 (10:02 +0100)
commitf97264d4842cd2d28e089e2dd8a409b93bb1a825
tree906ac58546e46969a269fb72104172436d5853de
parentdc4e212d6afc14c6f6c1c8ce734e6fc8d59393a6
6748: rgw: Optionally return the bucket name in a response header.

This can be useful in situations where accounting of traffic is done externally
when for example HTTP traffic is cached by a reverse proxy like Varnish.

Since not all traffic reaches the RGW daemon it can't fully account all traffic
and this the caching proxy needs to be aware of which bucket the request came for.

Signed-off-by: Wido den Hollander <wido@42on.com>
src/common/config_opts.h
src/rgw/rgw_main.cc
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_rest.cc