W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 2001

Re: mark/reset exception when using HttpManager to send chunked messa ge

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 4 Sep 2001 17:14:43 +0200 (MET DST)
To: "Miller, Charles (GXS)" <Charles.Miller@gxs.ge.com>
cc: <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.33.0109041710470.21853-100000@tarantula.inria.fr>
On Thu, 30 Aug 2001, Miller, Charles (GXS) wrote:

> I am trying to send chunked data using the HttpManager and Request objects.
> I am using a PipedInputStream / PipedOutputStream to supply and read the
> data. It seems that all the data gets passed through the streams, but then I
> get the mark/reset exception.  If PipedInputStream does not support
> mark/reset, what other options are available?  Keep in mind that the chunked
> data is very likely generated on the fly, not read from a static location.

Doing a BufferedInputStream on top of the piped one won't help?
You can see what has been done in the Servlet container about Piped
streams, but it was fed to a Reply and not a response though...
>
> __________________________________________________
> GE Global eXchange Services
>
> Charles Miller
> Software Engineer
> 7101 Executive Center Drive Suite 333
> Brentwood, TN 37027
> Phone: (615) 371-6271/ Dial*Comm: 8*593-6271 / Fax: - 6288
> E-Mail:  charles.miller@gxs.ge.com
>
>
>

-- 
Yves Lafon - W3C
"Baroula que barouleras, au tiéu toujou t'entourneras."
Received on Tuesday, 4 September 2001 11:14:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:35 GMT