]> git.ipfire.org Git - thirdparty/squid.git/commit
Author: Henrik Nordstrom <hno@squid-cache.org>
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 14 Jan 2011 05:02:13 +0000 (22:02 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 14 Jan 2011 05:02:13 +0000 (22:02 -0700)
commitaa5f2a8c0ae80f8b208be35559dcf73b3a094454
tree5e4d8ec93d289cb031c4f316096601767e954eff
parentaf550ae944efbe50221fa9080d0eb17b724a743e
Author: Henrik Nordstrom <hno@squid-cache.org>
Support RFC 5861 Cache-Control: stale-if-error option

The default behaviour for Squid is to present the stale object when
revalidation fails with a 5xx error.

stale-if-error places a maximum limit on how long this stale object may
be sent. After the limit has passed Squid is required to present the 5xx
message to the client.

Original code for Squid-2 was sponsored by Yahoo!.

Portage done by Alex Rousskov and Amos Jeffries.
SPONSORS
src/HttpHdrCc.cc
src/enums.h
src/refresh.cc
src/structs.h