W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: [XHR2] Streamed send or receive

From: Henri Sivonen <hsivonen@iki.fi>
Date: Thu, 6 Oct 2011 11:43:41 +0300
Message-ID: <CAJQvAudOX7hHR_KM-fpkoHaoF4FkOq2L4YE_iBupeEz9-0f3yg@mail.gmail.com>
To: Wenbo Zhu <wenboz@google.com>
Cc: public-webapps@w3.org
On Thu, Oct 6, 2011 at 10:57 AM, Wenbo Zhu <wenboz@google.com> 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
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Thursday, 6 October 2011 08:44:09 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:48 GMT