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

Function server_writer

net/net-connections.cpp:188–304  ·  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 9

assertFunction · 0.85
set_write_timerFunction · 0.85
prepare_iovecFunction · 0.85
get_read_ptrFunction · 0.85
fail_connectionFunction · 0.85
advance_skip_read_ptrFunction · 0.85
free_unused_buffersFunction · 0.85
get_ready_bytesFunction · 0.70

Tested by

no test coverage detected