]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: fix for pause in beast frontend
authorCasey Bodley <cbodley@redhat.com>
Thu, 19 Oct 2017 00:22:11 +0000 (20:22 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 19 Oct 2017 00:22:23 +0000 (20:22 -0400)
commitc64ac823adfb6d717570d3d3e82b89ea73dc3a77
tree28414432d12ce59f8c1b4f8e5ce9a8824f7a231a
parent043d8b2087218ca5abc19e0aaad5f739047bdffc
rgw: fix for pause in beast frontend

pause_for_new_config() was only stopping the listener on pause, but
existing keepalive connections would keep trying to read. this prevented
the frontend thread calls to io_service::run() from returning to
complete the pause

Fixes: http://tracker.ceph.com/issues/21831
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_asio_frontend.cc