]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Swift: Set Content-Length when requesting/checking Keystone tokens 4468/head
authorHervé Rousseau <hroussea@cern.ch>
Mon, 27 Apr 2015 15:54:30 +0000 (17:54 +0200)
committerHervé Rousseau <hroussea@cern.ch>
Mon, 27 Apr 2015 16:18:26 +0000 (18:18 +0200)
commit24f477417fdac9d68902fa211c8edf92a2e8729f
treee2006037f8ffab21c16684c98af91e9bc728df38
parenta26a2cf6b54c2dba48fba43a3a3885dfe7d39cff
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>
src/rgw/rgw_swift.cc