aslakhellesoy/eventsource-node — comment on commit 1d85e1226fab908e2d5d3a6b622e0e4c1f6c861f
File: lib/eventsource.js line 29
By einaros:

Well I've worked around it with 45f95a49a3b6be5af629891ec68d73d867eee22f, which also has the added bonus of conforming with readyState requirements for server closes.

There are a few test cases which are difficult to prove, with or without the close event, such as definitely saying that the client won't reconnect after getting a 204 response (halting problem, yay).