RESOLVED WORKSFORME Bug 63895
EventSource.close() doesn't close an already open stream
https://bugs.webkit.org/show_bug.cgi?id=63895
Summary EventSource.close() doesn't close an already open stream
Miloš Rašić
Reported 2011-07-04 02:23:14 PDT
The bug occurs on WebKit version 533 as reported by jQuery on an Appcelerator Titanium Desktop application. Calling close() method of an EventSource object doesn't close an already open text/event-stream connection. It correctly sets the readystate to 2 (CLOSED) and prevents EventSource object from making any further requests, but the already open connection remains open and the server has to be notified that it should close the connection from server side.
Attachments
Miloš Rašić
Comment 1 2011-07-06 07:14:41 PDT
It seems that this has been fixed in version 534. Just started testing my application on OS X today and Titanium Desktop for OS X reports webkit version 534.29. On this version, EventSource works as expected and closes the open connection when close() method is called.
Note You need to log in before you can comment on or make changes to this bug.