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

420 - improve readFile Stream finalization #421

Merged
merged 1 commit into from
Oct 11, 2024
Merged

420 - improve readFile Stream finalization #421

merged 1 commit into from
Oct 11, 2024

Conversation

regis-leray
Copy link
Member

@regis-leray regis-leray commented Oct 10, 2024

closes #420
closes #227

@regis-leray regis-leray requested a review from a team as a code owner October 10, 2024 00:53
@regis-leray
Copy link
Member Author

regis-leray commented Oct 10, 2024

@mberndt123 sorry for the delay

Thank again for your great input, and the investigation.

Here an implementation, which propagate the error if the pending command operation fail :)
Get always executed if the Stream of byte (inputstream) got any error.

I have updated the test to make sure if there is a failure during the finaliser it gets propagated to the error channel

@regis-leray regis-leray merged commit 4892c58 into series/2.x Oct 11, 2024
14 checks passed
@regis-leray regis-leray deleted the 420 branch October 11, 2024 00:33
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.

UnsecureFtp: improve readFile Stream finalization InvalidPathError sometimes return erroneously
1 participant