Yaffle/EventSource
View on GitHubPossible connection leak? A new SSE connection is opened on every onerror status=undefined
Open
#144 opened on Feb 3, 2020
help wanted
Description
Hi @Yaffle need your help in figuring this out. I see a pattern where a new connection is opened on every onerror and the status for the on error is status=undefined. The client does not get any data through SSE connection and after few seconds onerror with status=undefined is invoked again and a new connection is made to the backend.
All these connections kept open till the browser/session is closed and all the connections are closed together.
Could you please help in figuring this out and understand why this is happening and help in fixing it?