MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / connNonBlock

Function connNonBlock

src/connection.cpp:426–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426int connNonBlock(connection *conn) {
427 if (conn->fd == -1) return C_ERR;
428 return anetNonBlock(NULL, conn->fd);
429}
430
431int connEnableTcpNoDelay(connection *conn) {
432 if (conn->fd == -1) return C_ERR;

Callers 4

clusterAcceptHandlerFunction · 0.85
readSyncBulkPayloadRdbFunction · 0.85
createClientFunction · 0.85
ldbEndSessionFunction · 0.85

Calls 1

anetNonBlockFunction · 0.85

Tested by

no test coverage detected