Skip to content

Conversation

@Trott
Copy link
Member

Set allowHalfOpen: true in the client.

Fixes: #29802
Refs: #31806

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Set `allowHalfOpen: true` in the client. Fixes: nodejs#29802 Refs: nodejs#31806
@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Jul 12, 2020
@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Jul 12, 2020

@Trott
Copy link
MemberAuthor

Trott commented Jul 12, 2020

Stress test this PR (should be green): https://ci.nodejs.org/job/node-stress-single-test/111/

Stress test master branch (should be very red): https://ci.nodejs.org/job/node-stress-single-test/112/

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Jul 12, 2020

@TrottTrott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jul 12, 2020
@lpinca
Copy link
Member

lpinca commented Jul 12, 2020

Why allowHalfOpen was not needed before #31806? I mean #31806 was not meant to change net.Socket behavior no?

@Trott
Copy link
MemberAuthor

Why allowHalfOpen was not needed before #31806? I mean #31806 was not meant to change net.Socket behavior no?

A similar comment was left by @addaleax on the original PR: #31806 (comment)

/cc @ronag

@ronag
Copy link
Member

ronag commented Jul 14, 2020

I mean #31806 was not meant to change net.Socket behavior no?

It's a semver major... the timing of things might have changed. I believe onReadableStreamEnd was partly broken before and could cause 'finish' to be emitted after 'close' or something along those lines. Not sure anymore.

The full conversation is here https://github.com/nodejs/node/pull/31806/files#r386140400
Maybe related? #33137

@addaleax
Copy link
Member

Landed in 4195c31

addaleax pushed a commit that referenced this pull request Jul 14, 2020
Set `allowHalfOpen: true` in the client. Fixes: #29802 Refs: #31806 PR-URL: #34318 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Robert Nagy <[email protected]>
MylesBorins pushed a commit that referenced this pull request Jul 14, 2020
Set `allowHalfOpen: true` in the client. Fixes: #29802 Refs: #31806 PR-URL: #34318 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Robert Nagy <[email protected]>
@MylesBorinsMylesBorins mentioned this pull request Jul 14, 2020
MylesBorins pushed a commit that referenced this pull request Jul 16, 2020
Set `allowHalfOpen: true` in the client. Fixes: #29802 Refs: #31806 PR-URL: #34318 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Robert Nagy <[email protected]>
cjihrig pushed a commit that referenced this pull request Jul 23, 2020
Set `allowHalfOpen: true` in the client. Fixes: #29802 Refs: #31806 PR-URL: #34318 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Robert Nagy <[email protected]>
addaleax pushed a commit that referenced this pull request Sep 22, 2020
Set `allowHalfOpen: true` in the client. Fixes: #29802 Refs: #31806 PR-URL: #34318 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Robert Nagy <[email protected]>
addaleax pushed a commit that referenced this pull request Sep 22, 2020
Set `allowHalfOpen: true` in the client. Fixes: #29802 Refs: #31806 PR-URL: #34318 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Robert Nagy <[email protected]>
@codebyterecodebytere mentioned this pull request Sep 28, 2020
@TrottTrott deleted the fix-29802 branch April 14, 2022 11:29
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flaky test-http2-reset-flood

5 participants

@Trott@nodejs-github-bot@lpinca@ronag@addaleax