| 1290 | } |
| 1291 | |
| 1292 | int tlsProcessPendingData() { |
| 1293 | listIter li; |
| 1294 | listNode *ln; |
| 1295 | serverAssert(!GlobalLocksAcquired()); |
| 1296 | |
| 1297 | int processed = listLength(pending_list); |
| 1298 | listRewind(pending_list,&li); |
| 1299 | while((ln = listNext(&li))) { |
| 1300 | tls_connection *conn = (tls_connection*)listNodeValue(ln); |
| 1301 | tlsHandleEvent(conn, AE_READABLE); |
| 1302 | } |
| 1303 | return processed; |
| 1304 | } |
| 1305 | |
| 1306 | /* Fetch the peer certificate used for authentication on the specified |
| 1307 | * connection and return it as a PEM-encoded sds. |
no test coverage detected