Re: [squid-users] Does rep_mime_type ACL works within delay_access option

2003-10-28 Thread Henrik Nordstrom
On Tue, 28 Oct 2003, Dmitry N. Hramtsov wrote:

 So my question is: does rep_mime_type ACL works with delay_access option?

No. delay_access is evaluated very early in the request forwarding 
process, long before the reply is seen.

 P.S. Does maxconn ACL works within delay_access option?

I think it should, but I have not verified this combination.

Regards
Henrik



Re: [squid-users] Does rep_mime_type ACL works within delay_access option

2003-10-28 Thread Dmitry N. Hramtsov

Hello Henrik,

Thank you for a quick and informative answer.

I cannot say for sure, but, theoretically, it is possible to recalculate
ACL matches when reply comes. So squid may reassign delay pool for
request. Am I right?

Best regards,
Dmitry N. Hramtsov

On Tue, 28 Oct 2003, Henrik Nordstrom wrote:

 On Tue, 28 Oct 2003, Dmitry N. Hramtsov wrote:

  So my question is: does rep_mime_type ACL works with delay_access option?

 No. delay_access is evaluated very early in the request forwarding
 process, long before the reply is seen.

  P.S. Does maxconn ACL works within delay_access option?

 I think it should, but I have not verified this combination.

 Regards
 Henrik



Re: [squid-users] Does rep_mime_type ACL works within delay_access option

2003-10-28 Thread Robert Collins
On Tue, 2003-10-28 at 21:35, Dmitry N. Hramtsov wrote:
 Hello Henrik,
 
 Thank you for a quick and informative answer.
 
 I cannot say for sure, but, theoretically, it is possible to recalculate
 ACL matches when reply comes. So squid may reassign delay pool for
 request. Am I right?

Not in the current codebase, no. Hypothetically, you could alter squid
to do this.

Rob
-- 
GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt.


signature.asc
Description: This is a digitally signed message part


Re: [squid-users] Does rep_mime_type ACL works within delay_access option

2003-10-28 Thread Henrik Nordstrom
On Tue, 28 Oct 2003, Dmitry N. Hramtsov wrote:

 I cannot say for sure, but, theoretically, it is possible to recalculate
 ACL matches when reply comes. So squid may reassign delay pool for
 request. Am I right?

Everything is possible in theory.

If you are planning on digging into the Squid source I would recommend
looking at the Squid-3 development version. Many things have been improved
internally and this kind of modification should be a lot easier there than
earlier Squid releases.

Regards
Henrik