Repository navigation
fix(cli): add dial timeout and keepalive for Coder Connect - #24015
Merged
Merged
Conversation
EhabY
force-pushed
the
fix/ssh-coder-connect-fallback
branch
from
April 3, 2026 14:41
aa128ec to
1024b42
Compare
EhabY
marked this pull request as ready for review
April 3, 2026 14:42
EhabY
force-pushed
the
fix/ssh-coder-connect-fallback
branch
2 times, most recently
from
April 3, 2026 15:09
6c544dc to
b9a484d
Compare
EhabY
force-pushed
the
fix/ssh-stdio-retry
branch
3 times, most recently
from
April 6, 2026 13:55
d7e0867 to
ebe4912
Compare
Collaborator
|
Keep the dial timeout; I don't agree with the other changes. c.f. #24006 (comment) |
EhabY
force-pushed
the
fix/ssh-stdio-retry
branch
2 times, most recently
from
April 7, 2026 08:40
8c14f28 to
8e19be8
Compare
EhabY
force-pushed
the
fix/ssh-coder-connect-fallback
branch
from
April 7, 2026 09:07
b9a484d to
6f694f1
Compare
spikecurtis
approved these changes
Apr 7, 2026
The default net.Dialer had no timeout, falling back to the OS TCP timeout when the Coder Connect tunnel was broken but DNS still resolved. Add a 5s dial timeout and 30s TCP keepalive.
EhabY
force-pushed
the
fix/ssh-coder-connect-fallback
branch
from
April 7, 2026 22:00
6f694f1 to
8a1fbdf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The default
net.Dialerin the Coder Connect path had no timeout, falling back to the OS TCP timeout when the tunnel was broken but DNS still resolved. Add a 5s dial timeout and 30s TCP keepalive.Depends on #24010
Fixes #24006