]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
monc: simplify authentication state
authorSage Weil <sage@newdream.net>
Thu, 22 Oct 2009 00:02:12 +0000 (17:02 -0700)
committerSage Weil <sage@newdream.net>
Thu, 22 Oct 2009 00:02:12 +0000 (17:02 -0700)
commit6955f53fe513d303c1aca9e5b90c255d4610b00c
treea6e03a9b6092c34c591361ce55e5dbeefec7159e
parent31b6f463acd28d5158d5ff5334e3d0cc8562c15c
monc: simplify authentication state

Go back to a single _reopen_session() function.  If we send a message and
aren't yet authenticated, queue it up, and send it later when we finally
do authenticate.

Make send_auth_messsage() (used by AuthClientHandler) bypass that check so
that its messages always go out immediately.
src/auth/AuthClient.h
src/auth/AuthClientHandler.cc
src/mon/MonClient.cc
src/mon/MonClient.h