Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Cute little bug....

From: Graham Leggett <minfrin(at)sharp.fm>
Date: Tue Apr 10 2001 - 16:22:40 EDT

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

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

Do you need help?X

Regards,
Graham

-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."
Received on Tue Apr 10 20:24:55 2001

This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:53:15 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library