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

Close and reopen file handles if a write fails #1882

Merged
merged 3 commits into from
Nov 11, 2024
Merged

Close and reopen file handles if a write fails #1882

merged 3 commits into from
Nov 11, 2024

Conversation

Seldaek
Copy link
Owner

@Seldaek Seldaek commented Apr 15, 2024

Fixes #1862, fixes #1860, fixes #1634

@Seldaek Seldaek changed the title Close file handle after each write, refs #1862, refs #1860, refs #1634 Reopen file handles if a write fails Nov 11, 2024
@Seldaek Seldaek changed the title Reopen file handles if a write fails Close and reopen file handles if a write fails Nov 11, 2024
@Seldaek Seldaek merged commit 0779fb9 into 2.x Nov 11, 2024
76 checks passed
@Seldaek Seldaek deleted the fclose2 branch November 11, 2024 19:09
@cjavad
Copy link

cjavad commented Nov 23, 2024

This might have caused regressions when used in a reentrant context (swoole async etc), tbd.

@Seldaek
Copy link
Owner Author

Seldaek commented Nov 24, 2024

@cjavad let me know if you figure something out, but from the code it seems fine to me.

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