Skip to content

martian: move TLS handshake from Listener to matrtian #917

@mmatczuk

Description

@mmatczuk

The forwarder.Listener preforms explicit TLS handshake if TLS is configured.
While it's beneficial to martian to the handshake before trying to read request,
it may lead to slowness in accepting new connections as the handshake is performed in proxy main loop.

Move TLS handshake out of Listener and move it to martian and make it in separate go routine.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions