Skip to content

fix: respect connect timeout in ssl:connect - #781

Merged
benoitc merged 1 commit into
masterfrom
fix-ssl-timeout-handling
Jul 24, 2025
Merged

fix: respect connect timeout in ssl:connect#781
benoitc merged 1 commit into
masterfrom
fix-ssl-timeout-handling

Conversation

@benoitc

@benoitc benoitc commented Jul 24, 2025

Copy link
Copy Markdown
Owner

Properly handle timeout for SSL connections by measuring elapsed time during TCP connection phase and passing remaining timeout to SSL handshake.

Closes #776

Measure elapsed time during TCP connection and pass remaining timeout to SSL handshake. Handle infinity timeout case and close socket on timeout.

Closes #776
@benoitc
benoitc force-pushed the fix-ssl-timeout-handling branch from 2713139 to b665d3f Compare July 24, 2025 14:20
@benoitc
benoitc merged commit 952753f into master Jul 24, 2025
5 checks passed
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.

1 participant