Re: [squid-users] Can one run cache_log thru an ACL?

From: Adrian Chadd <adrian@dont-contact.us>
Date: Tue, 11 Dec 2007 14:13:31 +0900

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 -
Received on Mon Dec 10 2007 - 22:07:12 MST

This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:01 MST