commit | bb9e6bba5d8b85b631390f8dbe8a24ae1ff5b48a | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Wed Jun 20 21:53:53 2012 -0500 |
committer | Sage Weil <sage@inktank.com> | Thu Jul 05 21:14:24 2012 -0700 |
tree | e3923abfae2f2cb8af685dfb829a45df33e45779 | |
parent | 456ea46865787283088b23a8a7f69244513b95f0 [diff] |
libceph: clear CONNECTING in ceph_con_close() A connection that is closed will no longer be connecting. So clear the CONNECTING state bit in ceph_con_close(). Similarly, if the socket has been closed we no longer are in connecting state (a new connect sequence will need to be initiated). Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>