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

Function tlsProcessPendingData

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

Source from the content-addressed store, hash-verified

945}
946
947int tlsProcessPendingData() {
948 listIter li;
949 listNode *ln;
950
951 int processed = listLength(pending_list);
952 listRewind(pending_list,&li);
953 while((ln = listNext(&li))) {
954 tls_connection *conn = listNodeValue(ln);
955 tlsHandleEvent(conn, AE_READABLE);
956 }
957 return processed;
958}
959
960/* Fetch the peer certificate used for authentication on the specified
961 * connection and return it as a PEM-encoded sds.

Callers 1

beforeSleepFunction · 0.85

Calls 3

listRewindFunction · 0.85
listNextFunction · 0.85
tlsHandleEventFunction · 0.85

Tested by

no test coverage detected