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

From: Dmitry N. Hramtsov <hdn@dont-contact.us>
Date: Tue, 28 Oct 2003 11:43:25 +0600 (NOVT)

Hello squid community,

I want to limit download rates for multimedia content (mime types
video/msvideo, video/quicktime, etc.). I'v used such configuration:

acl heavy_mime_types rep_mime_type "/etc/squid/heavy_mime_types"
delay_pools 1
delay_class 1 2
delay_access 1 deny peer_networks
delay_access 1 allow heavy_mime_types
delay_access 1 deny all
delay_parameters 1 8192/16384 1024/2048

File /etc/squid/heavy_mime_types contains lines:

application/x-ms-wmv
application/octet-data
audio/basic
audio/mpeg
audio/x-realaudio
audio/mp3
audio/wav
video/mpeg
video/msvideo
video/quicktime
video/x-ms-asf
video/x-msvideo
video/x-sgi-movie

But it looks like that media content is still downloaded w/o rate limits.

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

Best regards,
Dmitry N. Hramtsov

P.S. Does maxconn ACL works within delay_access option?
P.P.S. Previous question is not related to e-mail subject. :)
Received on Mon Oct 27 2003 - 22:43:29 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:42 MST