Skip to content

Single connection mode use case #76

Answered by enisdenjo
ashwanipahal asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there, SSE has a known limitation in browsers of 6 active connections per origin when served over HTTP/1.1. There's not much you can do here except use an HTTP/2 enabled server.

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,…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by enisdenjo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants