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 error handling in `inprocess` back-end #176

Merged
merged 4 commits into from Nov 4, 2017

Conversation

@antrik
Copy link
Contributor

antrik commented Nov 4, 2017

Two fixes (along with test cases) for handling of sender/receiver closed conditions.

antrik added 4 commits Nov 4, 2017
"Broken Pipe" means the receiver end is closed -- it's just wrong to
signal this error when receiving from a closed sender.

(Admittedly, `Connection Reset` for closed sender is rather arbitrary: a
closed sender is normally signalled as EOF, not as an error, by the
OS... But it's what the other back-ends use -- and it's better than
"Broken Pipe" at any rate.)
@jdm
Copy link
Member

jdm commented Nov 4, 2017

@bors-servo r+
Good find!

@bors-servo
Copy link
Contributor

bors-servo commented Nov 4, 2017

📌 Commit e438c8a has been approved by jdm

@highfive highfive assigned jdm and unassigned emilio Nov 4, 2017
@bors-servo
Copy link
Contributor

bors-servo commented Nov 4, 2017

Testing commit e438c8a with merge c3fb5d7...

bors-servo added a commit that referenced this pull request Nov 4, 2017
Fix error handling in `inprocess` back-end

Two fixes (along with test cases) for handling of sender/receiver closed conditions.
@bors-servo
Copy link
Contributor

bors-servo commented Nov 4, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: jdm
Pushing c3fb5d7 to master...

@bors-servo bors-servo merged commit e438c8a into servo:master Nov 4, 2017
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.