You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
close() leaves the socket of a non-200 response open #41
The response callback never reads or destroys a non-200 or redirect response (lib/eventsource.js#L232-L248). On a keep-alive connection, which Node uses by default, its socket stays open. close() only destroys the current request, so after a retried 503 the process never exits.
changed the title [-]Socket of a non-200 stream response stays open after close()[/-][+]close() leaves the socket of a non-200 response open[/+]on Sep 28, 2026
Activity
[-]Socket of a non-200 stream response stays open after close()[/-][+]close() leaves the socket of a non-200 response open[/+]