Perform TLS handshake in Reader threads

Description

When Hops TLS is enabled, a connection goes through (a) the TLS handshake protocol and (b) validation against Hops Certificate Revocation List. These operations happen directly after an RPC server accepts a connection in the Listener thread. If any of those two are slow, it will block outstanding connections.

We should move these operations to Reader threads and let Listener do the bare minimum of accepting connections.

Status

Assignee

Antonis Kouzoupis

Reporter

Antonis Kouzoupis

Labels

None

Fix versions

Affects versions

2.8.2.7

Priority

Medium