On Thu, Oct 6, 2011 at 10:57 AM, Wenbo Zhu <[email protected]> wrote: > I'd like to hear from the WG if the following use cases or issues have been > discussed before. > 1) When onreadystatechange is invoked as new response data is being > received, currently there is no way to clear any buffered responseText > (alike) that has already been consumed. The lack of such a capability will > force the server to disconnect to avoid memory overflow on the client-side, > e.g. when the server is streaming a large volume of text or binary data to > the client.
This problem has been solved in Firefox Aurora by adding chunked text and chunked ArrayBuffer response types: https://bugzilla.mozilla.org/show_bug.cgi?id=687087 -- Henri Sivonen [email protected] http://hsivonen.iki.fi/
