Skip to content

http: align OutgoingMessage and ClientRequest destroy - #32148

Closed
ronag wants to merge 9 commits into
nodejs:masterfrom
nxtedition:http-client-destroy4
Closed

ronag wants to merge 9 commits into
nodejs:masterfrom
nxtedition:http-client-destroy4

Conversation

@ronag

@ronag ronag commented Mar 8, 2020 •

Copy link
Copy Markdown
Member

Added .destroyed property to OutgoingMessage and ClientRequest
to align with streams.

Fixed ClientRequest.destroy to dump res and re-use socket in agent
pool aligning it with abort.

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

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. http Issues and PRs related to the http subsystem. semver-major PRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants