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

SapiEmitter don't flush empty output buffer #54

Closed
vjik opened this issue Jul 11, 2023 · 0 comments · Fixed by #81
Closed

SapiEmitter don't flush empty output buffer #54

vjik opened this issue Jul 11, 2023 · 0 comments · Fixed by #81
Labels

Comments

@vjik
Copy link
Member

vjik commented Jul 11, 2023

// Emit 1: stream with empty body that use `ob_start()` without flush.
$emitter->emit($response);

// Emit 2: stream with non-empty body
$emitter->emit($response);

Second emit don't echo body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants