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

Function connBlock

src/connection.cpp:421–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419}
420
421int connBlock(connection *conn) {
422 if (conn->fd == -1) return C_ERR;
423 return anetBlock(NULL, conn->fd);
424}
425
426int connNonBlock(connection *conn) {
427 if (conn->fd == -1) return C_ERR;

Callers 2

readSyncBulkPayloadRdbFunction · 0.85
ldbStartSessionFunction · 0.85

Calls 1

anetBlockFunction · 0.85

Tested by

no test coverage detected