MCPcopy Create free account
hub / github.com/ceph/ceph / close

Method close

src/msg/async/Stack.h:131–134  ·  view source on GitHub ↗

Disables input from the socket. Current or future reads will immediately fail with an error. This is useful to abort operations on a socket that is not making progress due to a peer failure.

Source from the content-addressed store, hash-verified

129 /// This is useful to abort operations on a socket that is not making
130 /// progress due to a peer failure.
131 void close() {
132 _csi->close();
133 _csi.reset();
134 }
135
136 /// Get file descriptor
137 int fd() const {

Callers 1

~ConnectedSocketMethod · 0.45

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected