commit | fbb85a478f6d4cce6942f1c25c6a68ec5b1e7e7f | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@inktank.com> | Wed Jun 27 12:31:02 2012 -0700 |
committer | Sage Weil <sage@inktank.com> | Thu Jul 05 21:14:39 2012 -0700 |
tree | cc8ade79a548b2373f045e36c2711348119e6460 | |
parent | 735a72ef952d42a256f79ae3e6dc1c17a45c041b [diff] |
libceph: allow sock transition from CONNECTING to CLOSED It is possible to close a socket that is in the OPENING state. For example, it can happen if ceph_con_close() is called on the con before the TCP connection is established. con_work() will come around and shut down the socket. Signed-off-by: Sage Weil <sage@inktank.com>