Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): Explicitly close file read stream on request abort #2827

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

nellh
Copy link
Contributor

@nellh nellh commented Jun 13, 2023

This prevents a warning thrown by the controller.abort() call closing this stream.

Fixes #2786

This prevents a warning thrown by the controller.abort() call closing this stream
@nellh nellh force-pushed the 2786-close-stream-on-error branch from 4e1cd3d to ea56b2d Compare June 13, 2023 22:15
@nellh nellh changed the title fix(app): Explicitly close file read stream on request abort fix(cli): Explicitly close file read stream on request abort Jun 13, 2023
@nellh nellh merged commit 86234fb into master Jun 15, 2023
@nellh nellh deleted the 2786-close-stream-on-error branch June 15, 2023 17:11
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.

CLI upload may throw ERR_STREAM_PREMATURE_CLOSE on retried requests
1 participant