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

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 UTC