On 1/8/07, Leo Simons <[EMAIL PROTECTED]> wrote:

>   Or is it just that sticking work
> inside the close method is a Bad Idea (tm) in the first place?

That's definitely the case. If you depend on a stream closing to
signal the end of a request or a response, you're screwing up http
pipelining. That's why HTTP has content length and the like :)

Good call.  See r496142.  We now just use the content-length to figure
out how much data we've read and trigger the parse/filter operation
once we've got it all.  Seems to work just fine, and doesn't depend on
an explicit close by the servlet.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to