Skip to content

deadline handshake - #553

Open
Mzack9999 wants to merge 1 commit into
mainfrom
tls-handshake-deadline
Open

deadline handshake#553
Mzack9999 wants to merge 1 commit into
mainfrom
tls-handshake-deadline

Conversation

@Mzack9999

@Mzack9999 Mzack9999 commented Jun 25, 2026

Copy link
Copy Markdown
Member

Bound TLS handshakes with a connection deadline instead of spawning a watchdog goroutine plus two contexts per handshake, cutting per handshake timeout overhead from about 574ns and 8 allocs to 39ns and zero allocs while keeping the same timeout behavior.

Closes #554

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

Successfully merging this pull request may close these issues.

tls handshake spawns a watchdog goroutine per dial

1 participant