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

Proxy blocking when reaching browser SSE stream limit #754

Open
grelland opened this issue Mar 20, 2025 · 0 comments · May be fixed by #755
Open

Proxy blocking when reaching browser SSE stream limit #754

grelland opened this issue Mar 20, 2025 · 0 comments · May be fixed by #755

Comments

@grelland
Copy link

Hi, and thanks for a great tool!

I'm using the proxy whilst developing a basic template-based web application. It works mostly well, but I noticed that on every seventh page load the browser will hang for about a minute before the request is handled.

After some debugging I traced the problem to be the per-browser/hostname SSE stream limit (which just so happens to be exactly 6), coupled with the cleanup logic in the reloadHandler here. This blocks until the (dropped) connection is eventually cleaned up and the browser is able to establish the EventSource.

I have a fix in mind and will work on a PR 👍

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

Successfully merging a pull request may close this issue.

1 participant