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

io: corrected error handling for streams #32429

Merged
merged 1 commit into from
Jul 11, 2019
Merged

io: corrected error handling for streams #32429

merged 1 commit into from
Jul 11, 2019

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Jun 26, 2019

After #32309, we became much more eager to forget about normal errors
and more eager to throw an EOFError at the wrong place.
This is intended to fix that oversight.

@vtjnash vtjnash added the io Involving the I/O subsystem: libuv, read, write, etc. label Jun 26, 2019
@vtjnash vtjnash requested review from JeffBezanson and Keno June 26, 2019 21:57
@JeffBezanson
Copy link
Member

Is it possible to test for this?

@vtjnash
Copy link
Member Author

vtjnash commented Jun 26, 2019

I couldn't find a way to trigger these errors from a single healthy system. The suggestions online seemed to be to install a firewall in between that would mangle the packet routing, modify the system to create spurious disk errors, or throw the error explicitly.

After #32309, we became much more eager to forget about normal errors
and more eager to throw an EOFError at the wrong place.
This is intended to fix that oversight.
@vtjnash vtjnash force-pushed the jn/thread-io-error branch from b8c43bb to 94f3ea6 Compare June 27, 2019 19:06
@vtjnash
Copy link
Member Author

vtjnash commented Jun 28, 2019

FreeBSD buildbot appears to be unhealthy. The tester_win failures are fixed by #32412.

@vtjnash vtjnash merged commit c690489 into master Jul 11, 2019
@vtjnash vtjnash deleted the jn/thread-io-error branch July 11, 2019 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
io Involving the I/O subsystem: libuv, read, write, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants