MCPcopy Create free account
hub / github.com/VKCOM/kphp / tcp_server_writer

Function tcp_server_writer

net/net-tcp-connections.cpp:117–187  ·  view source on GitHub ↗

returns # of bytes in c->Out remaining after all write operations; anything is written if (1) C_WANTWR is set AND (2) c->Out.total_bytes > 0 after encryption AND (3) C_NOWR is not set if c->Out.total_bytes becomes 0, C_WANTWR is cleared ("nothing to write") and C_WANTRD is set if c->Out.total_bytes remains >0, C_WANTRD is cleared ("stop reading

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

assertFunction · 0.85
tcp_prepare_iovecFunction · 0.85
rwm_fetch_dataFunction · 0.85

Tested by

no test coverage detected