]> git.ipfire.org Git - thirdparty/squid.git/commit
Cleanup ETag comparison functions in preparation for If-Match support.
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 1 Oct 2010 00:41:19 +0000 (18:41 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 1 Oct 2010 00:41:19 +0000 (18:41 -0600)
commitbd76482d6532f586c4689f8b35f3fc5620004933
treef220bf0fe9b38ea4e98abf26cb58aa18c0d30e89
parentad4a0175d4f2114936dc38724c6e9c8ac7c4be0b
Cleanup ETag comparison functions in preparation for If-Match support.

Replace etagIsEqual() with etagIsStrongEqual() function that does proper strong
ETag comparison instead of asserting on weak ETags.

Add etagIsWeakEqual() function for weak ETag comparison. Currently unused.

Both etagIs*Equal() functions call etagStringsMatch() helper to compare the tags.

No runtime behavior changes expected.
src/ETag.cc
src/client_side.cc
src/protos.h