Skip to content

http: refactor agent 'free' handler - #32801

Closed
ronag wants to merge 4 commits into
nodejs:masterfrom
nxtedition:agent-refactor
Closed

http: refactor agent 'free' handler#32801
ronag wants to merge 4 commits into
nodejs:masterfrom
nxtedition:agent-refactor

Conversation

@ronag

@ronagronag commented Apr 12, 2020

Copy link
Copy Markdown
Member

Remove nesting in favor of early returns.

Ignore whitspace changes for easier review.

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

Remove nesting in favor of early returns.
@nodejs-github-botnodejs-github-bot added the http Issues or PRs related to the http subsystem. label Apr 12, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@ronagronag added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 14, 2020

@lundibundilundibundi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Comment threadlib/_http_agent.js Outdated
Co-Authored-By: Denys Otrishko <shishugi@gmail.com>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@addaleax

Copy link
Copy Markdown
Member

Landed in 613d421

addaleax pushed a commit that referenced this pull request Apr 15, 2020
Remove nesting in favor of early returns.
PR-URL: #32801
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
MylesBorins pushed a commit that referenced this pull request Apr 17, 2020
Remove nesting in favor of early returns.
PR-URL: #32801
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
BridgeAR pushed a commit that referenced this pull request Apr 28, 2020
Remove nesting in favor of early returns.
PR-URL: #32801
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@BridgeARBridgeAR mentioned this pull request Apr 28, 2020
@codebyterecodebytere mentioned this pull request Jul 8, 2020
2 tasks
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.httpIssues or PRs related to the http subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@ronag@nodejs-github-bot@addaleax@lundibundi@himself65@targos