8000 754 - Clean up EventSource when the page is closed/reloaded by grelland · Pull Request #755 · air-verse/air · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

754 - Clean up EventSource when the page is closed/reloaded #755

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grelland
Copy link

Fixes issue 754

This is a very basic fix but it works.

I did try to implement a more robust handling of the SSE connection on the server side as well (SSE heartbeats, lowering TCP timeouts), but could not get it to work reliably without also risking making the proxy far less transparent.

@ofipify
Copy link
ofipify commented Apr 21, 2025

I keep running into this as well. We have a page that executes an XHR call to a subsequent resource and I've noticed the occasional hang as the browser runs into its SSE connection limits.

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 this pull request may close these issues.

Proxy blocking when reaching browser SSE stream limit
2 participants
0