MCPcopy Create free account
hub / github.com/antirez/disque / prepareClientToWrite

Function prepareClientToWrite

src/networking.c:134–159  ·  view source on GitHub ↗

This function is called every time we are going to transmit new data * to the client. The behavior is the following: * * If the client should receive new data (normal clients will) the function * returns C_OK, and make sure to install the write handler in our event * loop so that when the socket is writable new data gets written. * * If the client should not receive new data, because it is

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

addReplyFunction · 0.85
addReplySdsFunction · 0.85
addReplyStringFunction · 0.85

Calls 2

clientHasPendingRepliesFunction · 0.85
listAddNodeHeadFunction · 0.85

Tested by

no test coverage detected