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.

Assignee

Antonios Kouzoupis

Reporter

Antonios Kouzoupis

Labels

None

Fix versions

Affects versions

Priority

Medium
Configure