-
Notifications
You must be signed in to change notification settings - Fork 50
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
[4.10] Http 2 Server does not support streaming #75
Labels
Comments
According to RFC: https://greenbytes.de/tech/webdav/rfc7540.html#rfc.section.8.1.p.4
The error message is updated to be more clear. |
@doubaokun does this means there's a way to stream responses with HTTP/2 and Swoole that is different? Didn't find anything in the documentation. |
@doubaokun are you saying SSE is not compatible with HTTP/2 ? |
doubaokun
changed the title
Http 2 Server does not support streaming
[4.10] Http 2 Server does not support streaming
Jan 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! Thanks for your work on swoole. I just tried it to make what I would hope a powerfull http/2 sse server but it didn't work at all. The reason is that it seems to be impossible to stream responses with swoole. Too bad!
I tried to stream a response by using the method
Response::write()
.Response streamed to user. No warning from swoole.
php --ri openswoole
)?4.7.2
uname -a
&php -v
&gcc -v
) ?https://github.com/openswoole/swoole-src/blob/8a581f572e6869e28bdf308d5640643ea6846172/ext-src/swoole_http_response.cc#L240-L245
The text was updated successfully, but these errors were encountered: