Skip to content

Conversation

@garg3133
Copy link
Member

This was happening because the https library now creates connections to be keep-alive by default (related PR), which stays open until the response is read completely (nodejs/node#50188 (comment)).

So, this PR fixes the issue by reading the response data.

Another fix was to set the Connection header to 'close' (nodejs/node#50188 (comment)), but I think the fix in this PR is the correct one.

@github-actions
Copy link

Status

  • ❌ No modified files found in the types directory.
    Please make sure to include types for any changes you have made. Thank you!.

@garg3133 garg3133 requested a review from beatfactor December 11, 2023 17:18
@beatfactor beatfactor merged commit fc10ac1 into nightwatchjs:main Dec 12, 2023
@garg3133 garg3133 deleted the node20-fix branch December 13, 2023 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants