]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: If the client sends a Connection: close header respond accordingly. 5284/head
authorWido den Hollander <wido@42on.com>
Fri, 10 Jul 2015 22:01:52 +0000 (00:01 +0200)
committerNathan Cutler <ncutler@suse.com>
Sun, 19 Jul 2015 15:57:17 +0000 (17:57 +0200)
commit2357b6c808f4f7c5997af48149585a6051c04b8f
treeb9ab81eac79190a39c593c3fe1736e1c733e49de
parent45beb86423c3bd74dbafd36c6822e71ad9680e17
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
(cherry picked from commit 79197d3711edc4b04a7ea4335b6e1b65754996d5)
src/rgw/rgw_civetweb.cc
src/rgw/rgw_civetweb.h