Skip to content

Apply connect-timeout to WebSocket dialing#619

Merged
ryanfowler merged 1 commit into
mainfrom
fix-websocket-connect-timeout
May 27, 2026
Merged

Apply connect-timeout to WebSocket dialing#619
ryanfowler merged 1 commit into
mainfrom
fix-websocket-connect-timeout

Conversation

@ryanfowler
Copy link
Copy Markdown
Owner

Summary

  • Thread --connect-timeout through the WebSocket dial path and cap it by any remaining --timeout budget.
  • Apply that budget to custom DNS lookup, TCP connect, proxy CONNECT, SOCKS5 negotiation, and TLS/WebSocket handshake setup.
  • Add unit and integration coverage for stalled DNS and proxy cases, and update the WebSocket docs and agent notes.

Testing

  • cargo fmt
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • cargo test --all-features
  • cargo test --all-features --test integration -- --test-threads=1

@ryanfowler ryanfowler enabled auto-merge May 27, 2026 06:12
@ryanfowler ryanfowler merged commit 62c253d into main May 27, 2026
4 checks passed
@ryanfowler ryanfowler deleted the fix-websocket-connect-timeout branch May 27, 2026 06:13
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