Viktor
Viktor
Can I close this?
What do you see if you open that URL in your browser?
@lmkoushik , @abzfarah , @Jurigag , are you sure the response is correct?
Why? `reader.cancel()` is used to cancel the request. Doesn't it abort the connection? Of course, it will not work unless the connection gets the "reading state", but it is not...
It seems, the `reader.cancel()` does not close the connection in Edge.
`AbortController` also doesn't help.
try to use the `Transport` option: ``` var es = new EventSource(url, { Transport: XMLHttpRequest }); ``` I see no solutions with `Fetch API`.
https://github.com/Yaffle/EventSource/commit/fd5408ef717b4679c186c80644dd46226176f03d - I have tried to use the suggested changes.
@svyotov , does it work? I have no Edge 18, but it does it work in Edge 17.
I have tested Edge 18 - it is still doesn't close connection when calling `EventSource#close` with any AbortController or Reader#cancel