On Fri, 2008-03-21 at 10:08 -0400, Matt Benjamin wrote:
> Today, just request-side handling of "Cache-Control: max-stale=0"
> (HttpHdrCc.c, 2.6-STABLE7+).
>
> If request's Cache-Control: max-stale has any positive value, Squid
> passes it through. Shouldn't the allowed range include 0 (delta-seconds
> := 1*DIGIT, and common usage)?
It's meant to pass along whatever Cache-Control it gets unmodified. If
max-stale=0 isn't forwarded properly then file a bug.
However, max-stale=0 is somewhat of an odd thing as it's the same as not
having max-stale at all: stale responses not accepted. So I guess the
code utilizes this to differentiate the three states (no max-stale,
max-stale, max-stale=NN)
What clients is sending max-stale=0 btw? Can't remember seeing it..
Regards
Henrik
Received on Fri Mar 21 2008 - 15:55:38 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:10 MDT