Search squid archive

squid 5.7 Bad request from parent cache after squid -k reconfigure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, (first Iapologize for my English) I have a local squid proxy in forward mode, with parent cache. I'm trying calc and restrict authenticated users that reach the assigned cuote on certains domains and sites, and for that I store the access log into database that match determinates ACL. Every one minute run an script that calc http_size for every user from database (leaving out logs records derived from TCP_HIT_, zero size, NONE, etc, etc), and those users that get her assigned limit, I put them into a file (that point to an access deny_rule), and make squid -k reconfigure.
All process described works ok, the users are denied but, when users try to visit all others sites that are not taked in account to overcuote the users, they get TCP_MISS/400 from parent cache (or NONE_NONE_ABORTED,  TCP_NEGATIVE_HIT, etc), and when user refresh the requested url, the resource load again. Looking the parent response I look that url is incorrect because it is missing the scheme and the host, for example: for an url like http://www.certaindomain.com/page/section-algo/bla-bla-bla, the TCP_MISS/400 (bad request from parent cache) result in: /page/section-algo/bla-bla-bla
Any help with that?? where is my mistake?? Thank you

squid 5.7 over debian 11 (from Debian sid repository but until now it work ok in others aspects).
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux