mån 2010-05-17 klockan 11:02 +0000 skrev GIGO .:
> Dear all,
>  
> never_direct/always_direct
>  
> 
> Why two directives had to be created while one directive could have done the 
> trick? Please guide

Because both common and complex configuration is generally easier to
model with two directives than one tri-state directive.

Plus that tri-state directives was very hard to add to squid.conf parser
at the time these directives were added.

The three states of these two directives are

  always direct
  automatic (default)
  never direct

The intended use of the directives is that you set one to override the
automatic mode in the direction you need. If both is set for the same
request then always_direct have priority which simplifies the most
common cases.

Regards
Henrik


Reply via email to