MCPcopy Create free account
hub / github.com/apache/trafficserver / is_closed

Method is_closed

include/shared/rpc/IPCSocketClient.h:82–86  ·  view source on GitHub ↗

Test if the socket was closed or it wasn't initialized.

Source from the content-addressed store, hash-verified

80
81 /// Test if the socket was closed or it wasn't initialized.
82 bool
83 is_closed() const
84 {
85 return (_sock < 0);
86 }
87
88protected:
89 std::int64_t _safe_write(int fd, const char *buffer, int len);

Callers 3

connectMethod · 0.95
read_allMethod · 0.95
invokeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected