Perhaps I put my question wrong. What I intended to ask was how to make
squid not process such request just like we stop the request by their
respective host IPs or protocols can we stop client request to be processed
by squid with respect to this error.

Mohammed Ali Abbas
Asst. CMTS Engineer

-----Original Message-----
From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 14, 2004 2:26 AM
To: Ali Abbas
Cc: 'squid users'
Subject: Re: [squid-users] Is it possible

On Sun, 14 Nov 2004, Ali Abbas wrote:

> Is it possible to either create an acl that can stop (deny) client request
> with abnormal headers or if somehow it can be specified in "no_cache" tag
so
> that squid never process such request with "header-too-large" error

Requests resulting in "header-too-large" error is rejected by Squid, and 
not cached (there is nothing to cache).

With the new req_header acl in Squid-2.5.STABLE7 you can match any request 
headers you like if there is a certain pattern (besides sheer size) you 
want to match and perhaps deny.

Regards
Henrik

Reply via email to