Skip to content

Conversation

kumarrishav
Copy link
Contributor

@kumarrishav kumarrishav commented Apr 2, 2024

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)

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/http
  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added http Issues or PRs related to the http subsystem. needs-ci PRs that need a full CI run. v18.x Issues that can be reproduced on v18.x or PRs targeting the v18.x-staging branch. labels Apr 2, 2024
@richardlau
Copy link
Member

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

@richardlau 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
Copy link
Contributor

Linkgoron commented Apr 2, 2024

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,
@kumarrishav
Copy link
Contributor Author

previous PR got messed up.

@richardlau @Linkgoron opened a new PR #52336

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. v18.x Issues that can be reproduced on v18.x or PRs targeting the v18.x-staging branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants