Skip to content

fix: share connect timeout with DNS resolution#864

Merged
ryanfowler merged 2 commits into
mainfrom
fix/shared-connect-timeout
Jul 14, 2026
Merged

fix: share connect timeout with DNS resolution#864
ryanfowler merged 2 commits into
mainfrom
fix/shared-connect-timeout

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • retain one connect timeout budget across pre-resolved DNS and transport setup
  • pass only the remaining timeout to TCP/TLS/QUIC transport
  • add an integration test covering delayed DNS followed by delayed TLS

Validation

  • cargo fmt --check
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • cargo test --locked --all-features --lib --bins
  • cargo test --locked --all-features --test network connect_timeout_is_shared_between_preresolved_dns_and_tls

@ryanfowler ryanfowler merged commit c690436 into main Jul 14, 2026
4 checks passed
@ryanfowler ryanfowler deleted the fix/shared-connect-timeout branch July 14, 2026 10:51
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