]> git.ipfire.org Git - thirdparty/squid.git/commit
bug 2591: adaptation_access does not work
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 11 Feb 2009 19:11:36 +0000 (21:11 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 11 Feb 2009 19:11:36 +0000 (21:11 +0200)
commit287bbe9a2b1fd5f6174f1b6ea4fca78c7c29ff3d
treebf57a9a98426a9aebabb77d9e09422fa234bfd3a
parent42900318220dae9a941e25b434788cc04f53b9e3
bug 2591: adaptation_access does not work

An access checklist required for each service set, so we need only one
AccessRule object for each adaptation service set
This patch:
  - When parses a adaptation_access line checks if an AccessRule object exist
for the service set and if yes append the access checklist to this object else
creates a new AccessRule object for this service set
  - The AccessRule constructor takes as argument now the reference service set
name (groupId)
  - The new Adaptation::FindRuleByGroupId method created. This method returns
the AccessRule object for a service set using its name (groupId)
src/adaptation/AccessRule.cc
src/adaptation/AccessRule.h
src/adaptation/Config.cc