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

Widen assertion on readEOF. #453

Merged
merged 3 commits into from
May 30, 2018
Merged

Widen assertion on readEOF. #453

merged 3 commits into from
May 30, 2018

Conversation

Lukasa
Copy link
Contributor

@Lukasa Lukasa commented May 30, 2018

Motivation:

In Darwin it is possible for readEOF to be received before writable,
if we race connection teardown with registering for writable. See
#452 for a more in-depth
explanation.

Modifications:

Widened the assertion.

Result:

People's code won't go bang.

Motivation:

In Darwin it is possible for readEOF to be received before writable,
if we race connection teardown with registering for writable. See
apple#452 for a more in-depth
explanation.

Modifications:

Widened the assertion.

Result:

People's code won't go bang.
@Lukasa Lukasa added the semver/patch No public API change. label May 30, 2018
@Lukasa Lukasa added this to the 1.8.0 milestone May 30, 2018
Copy link
Member

@weissi weissi left a comment

Choose a reason for hiding this comment

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

that makes sense

@Lukasa Lukasa merged commit 695afc5 into apple:master May 30, 2018
@Lukasa Lukasa deleted the cb-widen-assertion branch May 30, 2018 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants