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

http: set IncomingMessage.destroyed #33131

Closed
wants to merge 2 commits into from

Conversation

ronag
Copy link
Member

@ronag ronag commented Apr 28, 2020

IncomingMessage is a Readable stream and should properly
set the destroyed property.

This code is a little weird in general but this is the best solution I can think of until a bigger refactoring.

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

IncomingMessage is a Readable stream and should properly
set the destroyed property.
@ronag ronag added the http Issues or PRs related to the http subsystem. label Apr 28, 2020
@ronag ronag requested a review from mcollina April 28, 2020 17:19
@ronag
Copy link
Member Author

ronag commented Apr 28, 2020

@nodejs/http @nodejs/web-server-frameworks

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Apr 28, 2020

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

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

@juanarbol juanarbol left a comment

Choose a reason for hiding this comment

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

LGMT

@ronag ronag added wip Issues and PRs that are still a work in progress. and removed author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Apr 30, 2020
@ronag
Copy link
Member Author

ronag commented Apr 30, 2020

I've found more cases that need to be fixed. Especially on the server side.

Refs for final commit msg:
#33147
#33118

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Apr 30, 2020

@ronag ronag removed the wip Issues and PRs that are still a work in progress. label Apr 30, 2020
@ronag
Copy link
Member Author

ronag commented Apr 30, 2020

@nodejs/http: I missed a few cases earlier. PTAL.

@ronag ronag added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 1, 2020
@addaleax
Copy link
Member

addaleax commented May 9, 2020

Landed in 28e6626

@addaleax addaleax closed this May 9, 2020
addaleax pushed a commit that referenced this pull request May 9, 2020
IncomingMessage is a Readable stream and should properly
set the destroyed property.

PR-URL: #33131
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
codebytere pushed a commit that referenced this pull request May 11, 2020
IncomingMessage is a Readable stream and should properly
set the destroyed property.

PR-URL: #33131
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
@codebytere codebytere mentioned this pull request May 18, 2020
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. http Issues or PRs related to the http subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants