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

支持流式回复 #6

Closed
xcatliu opened this issue Mar 17, 2023 · 2 comments
Closed

支持流式回复 #6

xcatliu opened this issue Mar 17, 2023 · 2 comments

Comments

@xcatliu
Copy link
Owner

xcatliu commented Mar 17, 2023

No description provided.

@xcatliu
Copy link
Owner Author

xcatliu commented Mar 21, 2023

@xcatliu
Copy link
Owner Author

xcatliu commented Mar 21, 2023

需要开启 http2

Warning: When not used over HTTP/2, SSE suffers from a limitation to the maximum number of open connections, which can be especially painful when opening multiple tabs, as the limit is per browser and is set to a very low number (6). The issue has been marked as "Won't fix" in Chrome and Firefox. This limit is per browser + domain, which means that you can open 6 SSE connections across all of the tabs to www.example1.com and another 6 SSE connections to www.example2.com (per Stackoverflow). When using HTTP/2, the maximum number of simultaneous HTTP streams is negotiated between the server and the client (defaults to 100).

@xcatliu xcatliu closed this as completed Mar 29, 2023
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

No branches or pull requests

1 participant