Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

fix: Continue attempting connections no matter what#412

Merged
kylecarbs merged 6 commits intomasterfromyamux
Aug 11, 2021
Merged

Conversation

kylecarbs
Copy link
Member

Found this edge-case while restarting my SaaS instance ~20 times.

@kylecarbs
Copy link
MemberAuthor

Shoutout Dean for the wonderful logging that made finding this ezpz 🌈

@@ -143,7 +143,11 @@ func (l *listener) dial(ctx context.Context) (<-chan error, error) {
defer close(errCh)
for {
conn, err := session.Accept()
if errors.Is(err, io.EOF) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Does this not mean the yamux session is permanently borked?

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Yea you're right... debugging the error we're not checking now.

@kylecarbskylecarbs changed the titlefix: Continue accepting connections after yamux session EOFsfix: Continue attempting connections no matter whatAug 11, 2021
@kylecarbskylecarbs merged commit3ebd102 intomasterAug 11, 2021
@kylecarbskylecarbs deleted the yamux branchAugust 11, 2021 01:12
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@deansheatherdeansheatherdeansheather approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@kylecarbs@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp