]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Swift: Set Content-Length when requesting/checking Keystone tokens 5226/head
authorHervé Rousseau <hroussea@cern.ch>
Mon, 27 Apr 2015 15:54:30 +0000 (17:54 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 14 Jul 2015 08:21:43 +0000 (10:21 +0200)
commita5dbcbbdddce6cdeccb1e6f5641601d673cd1896
tree45b51cbda60a26a2bcfe44f6c4de783961fcb272
parent9a79e8e7da5f34f1adaf6137e01bcd42766ae677
Swift: Set Content-Length when requesting/checking Keystone tokens

Running Keystone with WSGIChunkedRequest=On is not supported.

We have to make sure that we set the Content-Length header when getting
an admin token and checking revoked tokens, otherwise Keystone returns
a HTTP 411 error.

Same applies when checking revoked tickets.

Fixes: #11473
Backport: Hammer, Firefly
Signed-off-by: Hervé Rousseau <hroussea@cern.ch>
(cherry picked from commit 24f477417fdac9d68902fa211c8edf92a2e8729f)
src/rgw/rgw_swift.cc