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

Function processCommand

src/server.c:1574–1641  ·  view source on GitHub ↗

If this function gets called we already read a whole * command, arguments are in the client argv/argc fields. * processCommand() execute the command or prepare the * server for a bulk read from the client. * * If 1 is returned the client is still alive and valid and * other operations can be performed by the caller. Otherwise * if 0 is returned the client was destroyed (i.e. after QUIT). */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

processInputBufferFunction · 0.85

Calls 9

addReplyFunction · 0.85
lookupCommandFunction · 0.85
addReplyErrorFormatFunction · 0.85
freeMemoryIfNeededFunction · 0.85
addReplySdsFunction · 0.85
callFunction · 0.85
sdscatprintfFunction · 0.70
sdsemptyFunction · 0.70

Tested by

no test coverage detected