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

net: treat ENOTCONN at shutdown as success #29912

Closed
wants to merge 1 commit into from

Conversation

addaleax
Copy link
Member

While it is not entirely clear why this condition is being
triggered, it does resolve a reported bug.

Fixes: #26315

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

While it is not entirely clear why this condition is being
triggered, it does resolve a reported bug.

Fixes: nodejs#26315
@nodejs-github-bot nodejs-github-bot added the net Issues and PRs related to the net subsystem. label Oct 10, 2019
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@addaleax addaleax added the review wanted PRs that need reviews. label Oct 11, 2019
@addaleax
Copy link
Member Author

@nodejs/collaborators This could use a review or two.

Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

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

LGTM, but is there anything reasonable that can be included in the docs about this?

@addaleax
Copy link
Member Author

@jasnell I wouldn’t know how or what to document. This kind of just makes behaviour be what it should be in the first place.

@jasnell
Copy link
Member

jasnell commented Oct 11, 2019

Yeah, that's kind of what I expected.

@addaleax addaleax added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed review wanted PRs that need reviews. labels Oct 11, 2019
@addaleax
Copy link
Member Author

Landed in 1447a79

@addaleax addaleax closed this Oct 12, 2019
addaleax added a commit that referenced this pull request Oct 12, 2019
While it is not entirely clear why this condition is being
triggered, it does resolve a reported bug.

Fixes: #26315

PR-URL: #29912
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
@addaleax addaleax deleted the shutdown-enotconn branch October 12, 2019 01:09
addaleax added a commit to addaleax/node that referenced this pull request Oct 14, 2019
While it is not entirely clear why this condition is being
triggered, it does resolve a reported bug.

Fixes: nodejs#26315

PR-URL: nodejs#29912
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
BethGriggs pushed a commit that referenced this pull request Oct 16, 2019
While it is not entirely clear why this condition is being
triggered, it does resolve a reported bug.

Fixes: #26315

Backport-PR-URL: #29968
PR-URL: #29912
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
addaleax added a commit that referenced this pull request Oct 25, 2019
While it is not entirely clear why this condition is being
triggered, it does resolve a reported bug.

Fixes: #26315

PR-URL: #29912
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. net Issues and PRs related to the net subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

shutdown ENOTCONN on TLS.Socket._final
5 participants