Skip to content

fix(node): close the connection when the abort signal fires during the body read - #602

Merged
barjin merged 1 commit into
masterfrom
fix/node-abort-closes-connection
Oct 29, 2026
Merged

barjin merged 1 commit into
masterfrom
fix/node-abort-closes-connection

Conversation

@barjin

@barjin barjin commented Oct 29, 2026

Copy link
Copy Markdown
Member

Drop the response body stream once the AbortSignal fires so the connection closes right away instead of on garbage collection, closes #597.

@apify-service-account apify-service-account added the tested Temporary label used only programatically for some analytics. label Oct 29, 2026
@apify-service-account apify-service-account added the t-tooling Issues with this label are in the ownership of the tooling team. label Oct 29, 2026
@barjin
barjin requested a review from Pijukatel October 29, 2026 09:54
@barjin
barjin merged commit 1fe089f into master Oct 29, 2026
37 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[node] Aborting the signal after the headers doesn't close the connection

3 participants