]> git.ipfire.org Git - thirdparty/squid.git/commit
Author: Alex Rousskov <rousskov@measurement-factory.com>
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 20 Dec 2010 13:37:07 +0000 (06:37 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 20 Dec 2010 13:37:07 +0000 (06:37 -0700)
commit21a8b171b8f65119999aa2511951d4b85f892491
tree2e012881dddb3b1948f382d9bb7b930a439f4b19
parenta92ed30cc50efb33ec4573b533091a4f0fbbb2ef
Author: Alex Rousskov <rousskov@measurement-factory.com>
Author: Dmitry Kurochkin <dmitry.kurochkin@measurement-factory.com>
Bug 427: HTTP Compliance: Support If-Match and If-None-Match requests.

Add support for If-Match and If-None-Match headers as described in RFC 2616
(sections 14.24 and 14.26 in particular).

Moved IMS handling from clientReplyContext::cacheHit() to
clientReplyContext::processConditional() while preserving the original IMS
logic, except for the case when a request has both IMS and If-None-Match.

Co-Advisors test cases:
    test_clause/rfc2616/ifMatch-mismatch-strong
    test_clause/rfc2616/ifMatch-mismatch-weak
    test_clause/rfc2616/ifNoneMatch-match-imsNone
    and many more
errors/Makefile.am
errors/templates/ERR_PRECONDITION_FAILED [new file with mode: 0644]
src/HttpRequest.cc
src/HttpRequest.h
src/Store.h
src/client_side_reply.cc
src/client_side_reply.h
src/enums.h
src/store.cc