MCPcopy Create free account
hub / github.com/F-Stack/f-stack / clientHasPendingReplies

Function clientHasPendingReplies

app/redis-6.2.6/src/networking.c:986–988  ·  view source on GitHub ↗

Return true if the specified client has pending reply buffers to write to * the socket. */

Source from the content-addressed store, hash-verified

984/* Return true if the specified client has pending reply buffers to write to
985 * the socket. */
986int clientHasPendingReplies(client *c) {
987 return c->bufpos || listLength(c->reply);
988}
989
990void clientAcceptHandler(connection *conn) {
991 client *c = connGetPrivateData(conn);

Callers 11

scriptCommandFunction · 0.85
syncCommandFunction · 0.85
prepareClientToWriteFunction · 0.85
writeToClientFunction · 0.85
unprotectClientFunction · 0.85
flushSlavesOutputBuffersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected