MCPcopy Create free account
hub / github.com/apache/brpc / need_shutdown_write

Function need_shutdown_write

src/brpc/socket.cpp:329–331  ·  view source on GitHub ↗

Whether shutdown write of the socket after this write complete.

Source from the content-addressed store, hash-verified

327
328 // Whether shutdown write of the socket after this write complete.
329 bool need_shutdown_write() const {
330 return _socket_and_control_bits.extra() & (uint16_t)1;
331 }
332
333 Socket* get_socket() const {
334 return _socket_and_control_bits.get();

Callers

nothing calls this directly

Calls 1

extraMethod · 0.80

Tested by

no test coverage detected