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

Open
vjik opened this issue Jul 11, 2023 · 0 comments
Open

SapiEmitter don't flush empty output buffer #54

vjik opened this issue Jul 11, 2023 · 0 comments
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.

@samdark samdark added the type:bug Bug label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants