]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: reuse fcgx connection structure 3125/head
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 26 Nov 2014 22:11:13 +0000 (14:11 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 29 Jan 2015 18:09:12 +0000 (10:09 -0800)
commit4feb8644d36752658f13dcbae80da5f2a3db95f6
treed973d14189dfc169d0f5a9da5394722da3ed64c5
parent32b9bb7a2b031b3357600a2a405d1f18ac594546
rgw: reuse fcgx connection structure

Fixes: #10194
Reuse the fcgx connection structure. It forces FCGX_Accept_r() freeing
up or reusing the connection if possible. This is needed for certain
fastcgi module (mod-proxy-fcgi) that sets the FCGI_KEEP_CONN, which
prevents the connection from being closed when calling FCGX_Finish_r().

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_main.cc