FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[v18.x] http: remove closeIdleConnections function while calling server close by kumarrishav · Pull Request #52334 · nodejs/node · GitHub

/ node Public

[v18.x] http: remove closeIdleConnections function while calling server close - #52334

Closed
kumarrishav wants to merge 1 commit into
nodejs:v18.xfrom
kumarrishav:patch-1
Closed

[v18.x] http: remove closeIdleConnections function while calling server close#52334
kumarrishav wants to merge 1 commit into
nodejs:v18.xfrom
kumarrishav:patch-1

Conversation

kumarrishav commented Apr 2, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

Correcting the #50194 backporting mistake. server.closeIdleConnections shouldn't be called while server.close in node v18. This behavior is for node v19 and above.

fixes: #52330, #51677,

As discussed here: #48383 (comment)

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/http
  • @nodejs/net

nodejs-github-bot added http Issues or PRs related to the http subsystem. needs-ci PRs that need a full CI run. v18.x labels Apr 2, 2024

Copy link
Copy Markdown
Member

Do the server.closeIdleConnections calls deleted from the tests in #50194 need to be put back?

richardlau changed the title http: remove closeIdleConnections function while calling server close [v18.x] http: remove closeIdleConnections function while calling server close Apr 2, 2024

Linkgoron commented Apr 2, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

Do the server.closeIdleConnections calls deleted from the tests in #50194 need to be put back?

Yes, I believe that the those two tests should be reverted as well.

Correcting the nodejs#50194 backporting mistake.
closeIdleConnections shouldn't be called while server.close in node v18.
This behavior is for node v19 and above.

fixes: nodejs#52330, nodejs#51677,

Copy link
Copy Markdown
Contributor Author

previous PR got messed up.

@richardlau @Linkgoron opened a new PR #52336

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

http Issues or PRs related to the http subsystem. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL