]> git.ipfire.org Git - thirdparty/squid.git/commit - src/refresh.cc
HTTP Compliance: support requests with Cache-Control: min-fresh.
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 4 Oct 2010 15:32:20 +0000 (09:32 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 4 Oct 2010 15:32:20 +0000 (09:32 -0600)
commit64f8c2cb114296630e0f2a122f93d86c96a79b0a
tree672d083ac3ee1c095af297b16c150c36f1a621e9
parentbcfba8bd89bfb643ccc0e1d4a7b0e610648d884a
HTTP Compliance: support requests with Cache-Control: min-fresh.

Added min-fresh directive support for Cache-Control header. The directive is
handled in refreshCheck() by incrementing age and check_time by min-fresh
value.

Co-Advisor test case:
    test_case/rfc2616/ccReqDirMsg-min-fresh-obey
src/HttpHdrCc.cc
src/enums.h
src/refresh.cc
src/structs.h