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

Function connTLSSetReadHandler

app/redis-6.2.6/src/tls.c:824–828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

822}
823
824int connTLSSetReadHandler(connection *conn, ConnectionCallbackFunc func) {
825 conn->read_handler = func;
826 updateSSLEvent((tls_connection *) conn);
827 return C_OK;
828}
829
830static void setBlockingTimeout(tls_connection *conn, long long timeout) {
831 anetBlock(NULL, conn->c.fd);

Callers

nothing calls this directly

Calls 1

updateSSLEventFunction · 0.85

Tested by

no test coverage detected