Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

martian: move TLS handshake from Listener to matrtian #917

Open
mmatczuk opened this issue Sep 20, 2024 · 0 comments
Open

martian: move TLS handshake from Listener to matrtian #917

mmatczuk opened this issue Sep 20, 2024 · 0 comments
Milestone

Comments

@mmatczuk
Copy link
Contributor

mmatczuk commented Sep 20, 2024

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.

@mmatczuk mmatczuk added this to the v1.4 milestone Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant