On Mon, Dec 10, 2007, Tory M Blue wrote:

> > If its your script/server causing those, needs fixing to only send the
> > length header when length is pre-known.
> > Otherwise you are under attack and have much bigger problems than squid.
> 
> Okay well the data is not static, so I do not believe the length is
> known until the transaction completes (A search for example, the site
> can't provide any length information, until the search, dynamic stuff
> is generated),. You cite "if  pre-known", what if it's not pre-known,
> than what is one suppose to do in this scenario?

Then don't set a Content-Length in your reply and, if the request was
HTTP/1.1, use chunked encoding if you would like to play nice and support
persistent connections.


Adrian

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -

Reply via email to