Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
refs/tags/v2.4.24
/
src
/
cache.c
tag
5387796d854c723061c389487a7eb9766f62513b
tagger
Willy Tarreau <w@1wt.eu>
Sat Aug 19 11:25:53 2023 +0200
object
d1756705e7928198062b8c5afece6f4407e5c737
HAProxy 2.4.24
a8ba438
BUG/MINOR: cache: Check cache entry is complete in case of Vary
by Remi Tricot-Le Breton
· 1 year, 7 months ago
a59ce4f
BUG/MINOR: cache: Cache response even if request has "no-cache" directive
by Remi Tricot-Le Breton
· 1 year, 7 months ago
5e84219
BUG/MEDIUM: cache: use the correct time reference when comparing dates
by Willy Tarreau
· 1 year, 7 months ago
95d7bc5
BUG/MINOR: cache: Disable cache if applet creation fails
by Christopher Faulet
· 2 years, 5 months ago
dcce27f
BUG/MINOR: cache: do not display expired entries in "show cache"
by Willy Tarreau
· 2 years, 5 months ago
a916932
DEBUG: cache: Update underlying buffer when loading HTX message in cache applet
by Christopher Faulet
· 2 years, 7 months ago
ba47612
BUG/MINOR: cache: Set conn-stream/channel EOI flags at the end of request
by Christopher Faulet
· 2 years, 7 months ago
eba18d5
BUG/MINOR: cache: Fix loop on cache entries in "show cache"
by Christopher Faulet
· 2 years, 10 months ago
2840c1d
BUG/MEDIUM: cache/cli: make "show cache" thread-safe
by Willy Tarreau
· 2 years, 10 months ago
79a63b1
BUG/MINOR: cache: properly ignore unparsable max-age in quotes
by Willy Tarreau
· 2 years, 11 months ago
beec7ea
BUG/MINOR: cache: Correctly handle existing-but-empty 'accept-encoding' header
by Tim Duesterhus
· 3 years, 3 months ago
ce6700a
BUILD: cache: include tools.h in cache.c
by Willy Tarreau
· 3 years, 5 months ago
b205bfd
CLEANUP: cli/tree-wide: properly re-align the CLI commands' help messages
by Willy Tarreau
· 3 years, 5 months ago
2b71810
CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
by Willy Tarreau
· 3 years, 5 months ago
4781b15
CLEANUP: atomic/tree-wide: replace single increments/decrements with inc/dec
by Willy Tarreau
· 3 years, 6 months ago
acc5b01
MINOR: cache: use pool_alloc(), not pool_alloc_dirty()
by Willy Tarreau
· 3 years, 6 months ago
154374c
CLEANUP: Use istadv(const struct ist, const size_t) whenever possible
by Tim Duesterhus
· 3 years, 7 months ago
61cfdf4
CLEANUP: tree-wide: replace free(x);x=NULL with ha_free(&x)
by Willy Tarreau
· 3 years, 7 months ago
d1ac2b9
MAJOR: htx: Remove the EOM block type and use HTX_FL_EOM instead
by Christopher Faulet
· 3 years, 10 months ago
42432f3
MINOR: htx: Rename HTX_FL_EOI flag into HTX_FL_EOM
by Christopher Faulet
· 3 years, 10 months ago
7704b0e
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· 3 years, 8 months ago
ed84d84
CLEANUP: Rename accept_encoding_hash_cmp to accept_encoding_bitmap_cmp
by Tim Duesterhus
· 3 years, 8 months ago
5897cfe
CLEANUP: cache: Use proper data types in secondary_key_cmp()
by Tim Duesterhus
· 3 years, 8 months ago
1d66e39
MINOR: cache: Remove the `hash` part of the accept-encoding secondary key
by Tim Duesterhus
· 3 years, 8 months ago
6ca8916
MINOR: cache: Do not store responses with an unknown encoding
by Remi Tricot-Le Breton
· 3 years, 9 months ago
94a01e1
CLEANUP: few extra typo and fixes over last one ("ot" -> "to")
by Willy Tarreau
· 3 years, 9 months ago
b8888ab
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· 3 years, 9 months ago
c294284
CLEANUP: Reduce scope of `hdr_age` in http_action_store_cache()
by Tim Duesterhus
· 3 years, 9 months ago
e2fff10
CLEANUP: Reduce scope of `header_name` in http_action_store_cache()
by Tim Duesterhus
· 3 years, 9 months ago
e5ff141
CLEANUP: Compare the return value of `XXXcmp()` functions with zero
by Tim Duesterhus
· 3 years, 9 months ago
dc38bc4
BUG/MEDIUM: cache: Fix hash collision in `accept-encoding` handling for `Vary`
by Tim Duesterhus
· 3 years, 9 months ago
e6cc5b5
MINOR: cache: Replace the "process-vary" option's expected values
by Remi Tricot-Le Breton
· 3 years, 9 months ago
42efffd
MINOR: cache: Remove redundant test in http_action_req_cache_use
by Remi Tricot-Le Breton
· 3 years, 9 months ago
ce9e7b2
MEDIUM: cache: Manage a subset of encodings in accept-encoding normalizer
by Remi Tricot-Le Breton
· 3 years, 9 months ago
6a34b2b
MINOR: cache: Add specific secondary key comparison mechanism
by Remi Tricot-Le Breton
· 3 years, 9 months ago
e4421de
BUG/MINOR: cache: Manage multiple headers in accept-encoding normalization
by Remi Tricot-Le Breton
· 3 years, 9 months ago
2b5c5cb
MINOR: cache: Avoid storing responses whose secondary key was not correctly calculated
by Remi Tricot-Le Breton
· 3 years, 9 months ago
bba2912
MINOR: cache: Refactoring of secondary_key building functions
by Remi Tricot-Le Breton
· 3 years, 9 months ago
f38a018
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· 3 years, 9 months ago
5853c0c
MINOR: cache: Add a max-secondary-entries cache option
by Remi Tricot-Le Breton
· 3 years, 9 months ago
73be796
MEDIUM: cache: Avoid going over duplicates lists too often
by Remi Tricot-Le Breton
· 3 years, 9 months ago
65904e4
MEDIUM: cache: Add a secondary entry counter and insertion limitation
by Remi Tricot-Le Breton
· 3 years, 9 months ago
964caaf
BUG/MAJOR: cache: Crash because of disabled entry not removed from the tree
by Remi Tricot-Le Breton
· 3 years, 9 months ago
e3e1e5f
MINOR: cache: Dump secondary entries in "show cache"
by Remi Tricot-Le Breton
· 3 years, 10 months ago
51058d6
MINOR: cache: Consider invalid Age values as stale
by Remi Tricot-Le Breton
· 3 years, 10 months ago
72cffaf
MEDIUM: cache: Remove cache entry in case of POST on the same resource
by Remi Tricot-Le Breton
· 3 years, 10 months ago
fcea374
MINOR: cache: Add extra "cache-control" value checks
by Remi Tricot-Le Breton
· 3 years, 10 months ago
795e141
MINOR: cache: Do not store stale entry
by Remi Tricot-Le Breton
· 3 years, 10 months ago
3243447
MINOR: cache: Add entry to the tree as soon as possible
by Remi Tricot-Le Breton
· 3 years, 10 months ago
8bb72aa
MINOR: cache: Improve accept_encoding_normalizer
by Remi Tricot-Le Breton
· 3 years, 10 months ago
23b2945
BUG/CRITICAL: cache: Fix trivial crash by sending accept-encoding header
by Tim Duesterhus
· 3 years, 10 months ago
754b242
MINOR: cache: Add a process-vary option that can enable/disable Vary processing
by Remi Tricot-Le Breton
· 3 years, 10 months ago
1785f3d
MEDIUM: cache: Add the Vary header support
by Remi Tricot-Le Breton
· 3 years, 10 months ago
3d08236
MINOR: cache: Prepare helper functions for Vary support
by Remi Tricot-Le Breton
· 3 years, 10 months ago
fc633b6
CLEANUP: config: Return ERR_NONE from config callbacks instead of 0
by Christopher Faulet
· 3 years, 11 months ago
cc9bf2e
MEDIUM: cache: Change caching conditions
by Remi Tricot-Le Breton
· 3 years, 10 months ago
8c2db71
BUG/MINOR: cache: Inverted variables in http_calc_maxage function
by Remi Tricot-Le Breton
· 3 years, 11 months ago
a647611
MINOR: cache: Add Expires header value parsing
by Remi Tricot-Le Breton
· 3 years, 11 months ago
bf97121
MINOR: cache: Create res.cache_hit and res.cache_name sample fetches
by Remi Tricot-Le Breton
· 3 years, 11 months ago
53161d8
MINOR: cache: Process the If-Modified-Since header in conditional requests
by Remi Tricot-Le Breton
· 4 years ago
27091b4
MINOR: cache: Store the "Last-Modified" date in the cache_entry
by Remi Tricot Le Breton
· 4 years ago
e014234
BUG/MINOR: cache: Check the return value of http_replace_res_status
by Tim Duesterhus
· 4 years ago
6cb1038
MEDIUM: cache: Add support for 'If-None-Match' request header
by Remi Tricot-Le Breton
· 4 years ago
dbb65b5
MEDIUM: cache: Store the ETag information in the cache_entry
by Remi Tricot-Le Breton
· 4 years ago
d7c6e6a
CLEANUP: cache: Fix leak of cconf->c.name during config check
by Tim Duesterhus
· 4 years ago
ff4d86b
MINOR: cache: Reject duplicate cache names
by Tim Duesterhus
· 4 years, 1 month ago
ea969f6
DOC: cache: Use '<name>' instead of '<id>' in error message
by Tim Duesterhus
· 4 years, 1 month ago
810df06
MEDIUM: htx: Add a flag on a HTX message when no more data are expected
by Christopher Faulet
· 4 years, 2 months ago
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· 4 years, 3 months ago
36979d9
REORG: include: move the error reporting functions to from log.h to errors.h
by Willy Tarreau
· 4 years, 4 months ago
6be7849
REORG: include: move cfgparse.h to haproxy/cfgparse.h
by Willy Tarreau
· 4 years, 4 months ago
dfd3de8
REORG: include: move stream.h to haproxy/stream{,-t}.h
by Willy Tarreau
· 4 years, 4 months ago
a264d96
REORG: include: move proxy.h to haproxy/proxy{,-t}.h
by Willy Tarreau
· 4 years, 4 months ago
aeed4a8
REORG: include: move log.h to haproxy/log{,-t}.h
by Willy Tarreau
· 4 years, 4 months ago
c7babd8
REORG: include: move filters.h to haproxy/filters{,-t}.h
by Willy Tarreau
· 4 years, 4 months ago
c2b1ff0
REORG: include: move http_ana.h to haproxy/http_ana{,-t}.h
by Willy Tarreau
· 4 years, 4 months ago
f1d32c4
REORG: include: move channel.h to haproxy/channel{,-t}.h
by Willy Tarreau
· 4 years, 4 months ago
5e539c9
REORG: include: move stream_interface.h to haproxy/stream_interface{,-t}.h
by Willy Tarreau
· 4 years, 4 months ago
83487a8
REORG: include: move cli.h to haproxy/cli{,-t}.h
by Willy Tarreau
· 4 years, 4 months ago
c761f84
REORG: include: move http_rules.h to haproxy/http_rules.h
by Willy Tarreau
· 4 years, 4 months ago
122eba9
REORG: include: move action.h to haproxy/action{,-t}.h
by Willy Tarreau
· 4 years, 4 months ago
8773533
REORG: include: move http_htx.h to haproxy/http_htx{,-t}.h
by Willy Tarreau
· 4 years, 4 months ago
334099c
REORG: include: move shctx to haproxy/shctx{,-t}.h
by Willy Tarreau
· 4 years, 4 months ago
16f958c
REORG: include: split common/htx.h into haproxy/htx{,-t}.h
by Willy Tarreau
· 4 years, 4 months ago
6131d6a
REORG: include: move common/net_helper.h to haproxy/net_helper.h
by Willy Tarreau
· 4 years, 4 months ago
8d36697
REORG: include: move base64.h, errors.h and hash.h from common to to haproxy/
by Willy Tarreau
· 4 years, 4 months ago
4c7e4b7
REORG: include: update all files to use haproxy/api.h or api-t.h if needed
by Willy Tarreau
· 4 years, 4 months ago
8d2b777
REORG: ebtree: move the include files from ebtree to include/import/
by Willy Tarreau
· 4 years, 4 months ago
2a37cdb
BUG/MINOR: cache: Don't needlessly test "cache" keyword in parse_cache_flt()
by Christopher Faulet
· 4 years, 4 months ago
6fb0f21
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· 4 years, 6 months ago
65554e1
MINOR: cache/filters: Initialize the cache filter when stream is created
by Christopher Faulet
· 4 years, 7 months ago
497c759
BUG/MEDIUM: cache/filters: Fix loop on HTX blocks caching the response payload
by Christopher Faulet
· 4 years, 7 months ago
8b50758
CLEANUP: cache: use read_u32/write_u32 to access the cache entry's hash
by Willy Tarreau
· 4 years, 7 months ago
d34b1ce
BUG/MINOR: cache: Fix leak of cache name in error path
by Tim Duesterhus
· 4 years, 8 months ago
20020ae
MINOR: chunk: add chunk_istcat() to concatenate an ist after a chunk
by Willy Tarreau
· 5 years ago
d1d1e22
BUG/MINOR: cache: alloc shctx after check config
by William Lallemand
· 5 years ago
ccc61d8
BUG/MINOR: cache: also cache absolute URIs
by Willy Tarreau
· 5 years ago
22c6107
BUG/MEDIUM: cache: make sure not to cache requests with absolute-uri
by Willy Tarreau
· 5 years ago
6905d18
Revert "MINOR: cache: allow caching of OPTIONS request"
by Willy Tarreau
· 5 years ago
78fbb9f
MEDIUM: fcgi-app: Add FCGI application and filter
by Christopher Faulet
· 5 years ago
Next »