Chuck Murcko wrote:

> 20-30 sec "dead time" and suddenly, a bunch of connections to the
> browser complete, probably a timeout close flush. IE 5.1b1 OS X is the
> browser.

Hmmm - this would be caused by confusion over whether the downstream
connection was a keepalive connection or not, and how much data to read
off the network. Looks like the proxy is trying to read till EOF on a
downstream server that keepalives.

The logic for this goes:

- If the response has a content-length, read content-length bytes from
the downstream server, and unless told otherwise, keepalive.

- If the response has a Transfer-Encoding of "chunk", add the DECHUNK
filter to the input filters, which will only read as much from the
network as it needs. Unless told otherwise, keepalive.

- Otherwise, read until EOF - no keepalive.

Is this logic correct?

> >> Also, the odd group of
> >>
> >> [error] (32)Broken pipe: core_output_filter: writing data to the
> >> network
> >
> > What platform is this? I've been hunting down this bug for almost a week
> > - it's been driving me nuts.
> 
> SuSE 6.4, 2.2.14 kernel with 3.1.25 PCMCIA support.

No - I've confused this with something else... I think...

Regards,
Graham
-- 
-----------------------------------------
[EMAIL PROTECTED]               "There's a moon
                                        over Bourbon Street
                                                tonight..."

Reply via email to