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

Function connNonBlock

app/redis-6.2.6/src/connection.c:392–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392int connNonBlock(connection *conn) {
393 if (conn->fd == -1) return C_ERR;
394 return anetNonBlock(NULL, conn->fd);
395}
396
397int connEnableTcpNoDelay(connection *conn) {
398 if (conn->fd == -1) return C_ERR;

Callers 4

ldbEndSessionFunction · 0.85
readSyncBulkPayloadFunction · 0.85
createClientFunction · 0.85
clusterAcceptHandlerFunction · 0.85

Calls 1

anetNonBlockFunction · 0.85

Tested by

no test coverage detected