]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/asok: disconnect client when shutdown
authorKefu Chai <kchai@redhat.com>
Sun, 16 Feb 2020 10:03:24 +0000 (18:03 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 16 Feb 2020 15:59:30 +0000 (23:59 +0800)
commit15e31737a52932e657606f917b83a6529051c89f
treebcc55a0ebc1e4ec105693d14032c390414f9b219
parent7d1181b91501b1556e2bfdce8029cadf6aad624e
crimson/asok: disconnect client when shutdown

track the established connection as well, please note, the current asok
implementation only allows a single connection at the same time, even
though unix domain socket allows multiple concurrent clients. so there
is no need to track multiple clients at this moment.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/admin/admin_socket.cc
src/crimson/admin/admin_socket.h