HttpServer ThroughStream limitted to 6 simultaneous connections #507
-
I tried to make SSE server using HttpServer and ThroughStream. It works only for 6 connections. First 6 clients can connect and receive streams, but when i connect more clients they can not connect to the server. I make a reproduction repo for my code: https://github.com/koekaverna/sse-stream |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@koekaverna Hello Egor, could you describe how you did the testing? Was each client...
If it's case 1, then you may be running in to the limit that the browser itself places on the number of active SSE connections it allows to the server's domain. If this is the case, opening a different browser on the same machine should allow you to push beyond 6 connections to your SSE server. https://stackoverflow.com/questions/18584525/server-sent-events-and-browser-limits |
Beta Was this translation helpful? Give feedback.
@koekaverna Hello Egor, could you describe how you did the testing? Was each client...
If it's case 1, then you may be running in to the limit that the browser itself places on the number of active SSE connections it allows to the server's domain. If this is the case, opening a different browser on the same machine should allow you to push beyond 6 connections to your SSE server.
https://stackoverflow.com/questions/18584525/server-sent-events-and-browser-limits