]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: If the client sends a Connection: close header respond accordingly. 5213/head
authorWido den Hollander <wido@42on.com>
Fri, 10 Jul 2015 22:01:52 +0000 (00:01 +0200)
committerWido den Hollander <wido@42on.com>
Mon, 13 Jul 2015 10:56:57 +0000 (12:56 +0200)
commit79197d3711edc4b04a7ea4335b6e1b65754996d5
treeb0cf755946e84bf4d9c3907f4d7d86a62adcfa0e
parent1b0842ba107055dc256ca9cbfc381a6dfa0a2610
rgw: If the client sends a Connection: close header respond accordingly.

HTTP/1.1 assumes Keep-Alive by default, but if a Connection: close header is send
the server should respond with it as well.

This makes the client close the connection after the request.

Fixes: #12298
src/rgw/rgw_civetweb.cc
src/rgw/rgw_civetweb.h