diff options
author | Alex Elder | 2012-05-23 14:35:23 -0500 |
---|---|---|
committer | Sage Weil | 2012-07-05 21:14:26 -0700 |
commit | 3ec50d1868a9e0493046400bb1fdd054c7f64ebd (patch) | |
tree | f5a5dbab32b5205f07aa4867a32e4b7bcd823e16 /Documentation | |
parent | bb9e6bba5d8b85b631390f8dbe8a24ae1ff5b48a (diff) |
libceph: clear NEGOTIATING when done
A connection state's NEGOTIATING bit gets set while in CONNECTING
state after we have successfully exchanged a ceph banner and IP
addresses with the connection's peer (the server). But that bit
is not cleared again--at least not until another connection attempt
is initiated.
Instead, clear it as soon as the connection is fully established.
Also, clear it when a socket connection gets prematurely closed
in the midst of establishing a ceph connection (in case we had
reached the point where it was set).
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions