-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
ResourceOutputStream treats open stream as closed #58
Comments
@bwoebi I think what really fixed #40 was failing after multiple writes of 0 length. On macOS |
Failing after multiple 0-length writes still isn't the optimal solution, but might be OK given we don't really support TLS renegotiation. |
Running the example via the shell yields the following output:
Running the same script with systemd yields:
|
The previous mechanism with feof doesn't work for systemd launched processes. Fixes #58.
The previous mechanism with feof doesn't work for systemd launched processes. Fixes #58.
The previous mechanism with feof doesn't work for systemd launched processes. Fixes #58.
Finally released v1.6.0. 🎉 |
Here is a problem which occurs if the script is run from systemd
I figured out that it stops happening if
feof
check of the stream is removed inResourceOutputStream.php:74
. Apparently it is not correct to usefeof
for checking if stream is open or not, but I am not sure what can be done here as it has been added for a reason.The text was updated successfully, but these errors were encountered: