Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ext/websocket): prevent 'closed normally' panic #12437

Merged
merged 3 commits into from
Oct 19, 2021

Conversation

crowlKats
Copy link
Member

No description provided.

@crowlKats crowlKats changed the title fix(ext/websocket): prevent 'already closed' panic fix(ext/websocket): prevent 'closed normally' panic Oct 14, 2021
@CLAassistant
Copy link

CLAassistant commented Oct 15, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@bnoordhuis bnoordhuis left a comment

Choose a reason for hiding this comment

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

LGTM. A regression test would be nice to have.

@bartlomieju
Copy link
Member

LGTM. A regression test would be nice to have.

I agree, @crowlKats any chance you got a reproducible test that triggers this panic?

@crowlKats
Copy link
Member Author

i do have a test, but its extremely flaky, and since we are testing for success instead of it panicking, we wont know if we hit the case where it would panic or not, so test is not possible

@bartlomieju bartlomieju merged commit d6062b2 into denoland:main Oct 19, 2021
@crowlKats crowlKats deleted the ws_already_closed branch October 19, 2021 16:49
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.

None yet

4 participants