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): pass on uncaught errors in idleTimeout #21846

Merged
merged 5 commits into from
Jan 9, 2024

Conversation

littledivy
Copy link
Member

Fixes #21840

The problem was hard to reproduce as its a race condition. I've added a test that reproduces the problem 1/10 tries. We should move the idleTimeout handling to Rust (maybe even built into fastwebsocket).

@littledivy littledivy merged commit 6db631a into denoland:main Jan 9, 2024
14 checks passed
@littledivy littledivy deleted the websocket_uncaught_broken_pipe branch January 10, 2024 04:07
bartlomieju pushed a commit that referenced this pull request Jan 12, 2024
Fixes #21840

The problem was hard to reproduce as its a race condition. I've added a
test that reproduces the problem 1/10 tries. We should move the
idleTimeout handling to Rust (maybe even built into fastwebsocket).
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.

Uncatchable exception in 01_websocket.js: Broken pipe (os error 32) [100% reproducible]
2 participants