Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
40a9c32e3a4f2f9a85df9e335dbac8b3e12f80fa
/
src
/
cache.c
40a9c32
CLEANUP: stconn: rename cs_{i,o}{b,c} to sc_{i,o}{b,c}
by Willy Tarreau
· Wed May 18 15:55:18 2022 +0200
d0a06d5
CLEANUP: applet: use applet_put*() everywhere possible
by Willy Tarreau
· Wed May 18 15:07:19 2022 +0200
026e8fb
CLEANUP: stconn: tree-wide rename stconn states CS_ST/SB_* to SC_ST/SB_*
by Willy Tarreau
· Tue May 17 19:47:17 2022 +0200
7cb9e6c
CLEANUP: stream: rename "csf" and "csb" to "scf" and "scb"
by Willy Tarreau
· Tue May 17 19:40:40 2022 +0200
4596fe2
CLEANUP: conn_stream: tree-wide rename to stconn (stream connector)
by Willy Tarreau
· Tue May 17 19:07:51 2022 +0200
d869e13
CLEANUP: applet: rename the sedesc pointer from "endp" to "sedesc"
by Willy Tarreau
· Tue May 17 18:05:31 2022 +0200
b605c42
CLEANUP: conn_stream: rename the stream endpoint flags CS_EP_* to SE_FL_*
by Willy Tarreau
· Tue May 17 17:04:55 2022 +0200
d56377c
CLEANUP: conn_stream: apply endp_flags.cocci tree-wide
by Willy Tarreau
· Tue May 17 16:31:36 2022 +0200
0698c80
CLEANUP: applet: remove the unneeded appctx->owner
by Willy Tarreau
· Wed May 11 14:09:57 2022 +0200
66435e5
CLEANUP: applet: use the appctx's endp instead of cs->endp
by Willy Tarreau
· Tue May 10 11:32:31 2022 +0200
f61494c
CLEANUP: cache: take the context out of appctx.ctx
by Willy Tarreau
· Fri May 06 11:03:39 2022 +0200
c6dfef7
CLEANUP: cache/cli: make use of a locally defined context for "show cache"
by Willy Tarreau
· Thu May 05 16:46:13 2022 +0200
1d216c7
BUG/MINOR: cache: Disable cache if applet creation fails
by Christopher Faulet
· Thu Apr 21 11:30:43 2022 +0200
1336ccf
CLEANUP: conn-stream: rename cs_register_applet() to cs_applet_create()
by Christopher Faulet
· Tue Apr 12 18:15:16 2022 +0200
6b0a0fb
CLEANUP: tree-wide: Remove any ref to stream-interfaces
by Christopher Faulet
· Mon Apr 04 11:29:28 2022 +0200
a0bdec3
MEDIUM: stream-int/conn-stream: Move blocking flags from SI to CS
by Christopher Faulet
· Mon Apr 04 07:51:21 2022 +0200
3704663
MINOR: applet: Use the CS to register and release applets instead of SI
by Christopher Faulet
· Fri Apr 01 11:36:58 2022 +0200
da098e6
MINOR: stream-int/conn-stream: Move si_shut* and si_chk* in conn-stream scope
by Christopher Faulet
· Thu Mar 31 17:44:45 2022 +0200
62e7574
MEDIUM: stream-int/conn-stream: Move stream-interface state in the conn-stream
by Christopher Faulet
· Thu Mar 31 09:16:34 2022 +0200
908628c
MEDIUM: tree-wide: Use CS util functions instead of SI ones
by Christopher Faulet
· Fri Mar 25 16:43:49 2022 +0100
b041b23
MEDIUM: conn-stream: Move remaning flags from CS to endpoint
by Christopher Faulet
· Thu Mar 24 10:27:02 2022 +0100
f1de1b5
BUG/MINOR: cache: do not display expired entries in "show cache"
by Willy Tarreau
· Wed Apr 13 11:21:39 2022 +0200
7750850
CLEANUP: Reapply ist.cocci with `--include-headers-for-types --recursive-includes`
by Tim Duesterhus
· Tue Mar 15 13:11:06 2022 +0100
8b1eed1
DEBUG: cache: Update underlying buffer when loading HTX message in cache applet
by Christopher Faulet
· Mon Mar 07 16:44:30 2022 +0100
dbf1e88
BUG/MINOR: cache: Set conn-stream/channel EOI flags at the end of request
by Christopher Faulet
· Mon Mar 07 15:53:57 2022 +0100
7a58d79
MINOR: cache: Always access the stream-int via the conn-stream
by Christopher Faulet
· Thu Dec 23 13:40:08 2021 +0100
95a61e8
MINOR: stream: Add pointer to front/back conn-streams into stream struct
by Christopher Faulet
· Wed Dec 22 14:22:03 2021 +0100
86e1c33
MEDIUM: applet: Set the conn-stream as appctx owner instead of the stream-int
by Christopher Faulet
· Mon Dec 20 17:09:39 2021 +0100
13a35e5
MAJOR: conn_stream/stream-int: move the appctx to the conn-stream
by Christopher Faulet
· Mon Dec 20 15:34:16 2021 +0100
27f88a9
BUG/MINOR: cache: Fix loop on cache entries in "show cache"
by Christopher Faulet
· Tue Nov 23 16:03:05 2021 +0100
da91842
BUG/MEDIUM: cache/cli: make "show cache" thread-safe
by Willy Tarreau
· Fri Nov 19 17:25:41 2021 +0100
1f38bdb
BUG/MINOR: cache: properly ignore unparsable max-age in quotes
by Willy Tarreau
· Mon Nov 08 12:09:27 2021 +0100
49b0482
CLEANUP: chunk: remove misleading chunk_strncat() function
by Willy Tarreau
· Mon Nov 08 11:44:47 2021 +0100
9f7ed8a
CLEANUP: Apply ist.cocci
by Tim Duesterhus
· Mon Nov 08 09:05:04 2021 +0100
2471f5c
CLEANUP: Apply ist.cocci
by Tim Duesterhus
· Mon Nov 08 09:05:01 2021 +0100
284fbe1
CLEANUP: Apply ist.cocci
by Tim Duesterhus
· Thu Nov 04 22:35:44 2021 +0100
3bc6af4
BUG/MINOR: cache: Correctly handle existing-but-empty 'accept-encoding' header
by Tim Duesterhus
· Fri Jun 18 15:09:28 2021 +0200
ce6700a
BUILD: cache: include tools.h in cache.c
by Willy Tarreau
· Sat May 08 13:03:55 2021 +0200
b205bfd
CLEANUP: cli/tree-wide: properly re-align the CLI commands' help messages
by Willy Tarreau
· Fri May 07 11:38:37 2021 +0200
2b71810
CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
by Willy Tarreau
· Wed Apr 21 07:32:39 2021 +0200
4781b15
CLEANUP: atomic/tree-wide: replace single increments/decrements with inc/dec
by Willy Tarreau
· Tue Apr 06 13:53:36 2021 +0200
acc5b01
MINOR: cache: use pool_alloc(), not pool_alloc_dirty()
by Willy Tarreau
· Mon Mar 22 15:00:49 2021 +0100
154374c
CLEANUP: Use istadv(const struct ist, const size_t) whenever possible
by Tim Duesterhus
· Tue Mar 02 18:57:27 2021 +0100
61cfdf4
CLEANUP: tree-wide: replace free(x);x=NULL with ha_free(&x)
by Willy Tarreau
· Sat Feb 20 10:46:51 2021 +0100
d1ac2b9
MAJOR: htx: Remove the EOM block type and use HTX_FL_EOM instead
by Christopher Faulet
· Wed Dec 02 19:12:22 2020 +0100
42432f3
MINOR: htx: Rename HTX_FL_EOI flag into HTX_FL_EOM
by Christopher Faulet
· Fri Nov 20 17:43:16 2020 +0100
7704b0e
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sat Jan 23 02:11:59 2021 +0500
ed84d84
CLEANUP: Rename accept_encoding_hash_cmp to accept_encoding_bitmap_cmp
by Tim Duesterhus
· Mon Jan 18 13:41:17 2021 +0100
5897cfe
CLEANUP: cache: Use proper data types in secondary_key_cmp()
by Tim Duesterhus
· Mon Jan 18 13:41:18 2021 +0100
1d66e39
MINOR: cache: Remove the `hash` part of the accept-encoding secondary key
by Tim Duesterhus
· Mon Jan 18 13:41:16 2021 +0100
6ca8916
MINOR: cache: Do not store responses with an unknown encoding
by Remi Tricot-Le Breton
· Thu Jan 07 14:50:51 2021 +0100
94a01e1
CLEANUP: few extra typo and fixes over last one ("ot" -> "to")
by Willy Tarreau
· Wed Jan 06 17:35:12 2021 +0100
b8888ab
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Wed Jan 06 21:20:16 2021 +0500
c294284
CLEANUP: Reduce scope of `hdr_age` in http_action_store_cache()
by Tim Duesterhus
· Sat Jan 02 22:47:17 2021 +0100
e2fff10
CLEANUP: Reduce scope of `header_name` in http_action_store_cache()
by Tim Duesterhus
· Sat Jan 02 22:47:16 2021 +0100
e5ff141
CLEANUP: Compare the return value of `XXXcmp()` functions with zero
by Tim Duesterhus
· Sat Jan 02 22:31:53 2021 +0100
dc38bc4
BUG/MEDIUM: cache: Fix hash collision in `accept-encoding` handling for `Vary`
by Tim Duesterhus
· Tue Dec 29 12:43:53 2020 +0100
e6cc5b5
MINOR: cache: Replace the "process-vary" option's expected values
by Remi Tricot-Le Breton
· Wed Dec 23 18:13:53 2020 +0100
42efffd
MINOR: cache: Remove redundant test in http_action_req_cache_use
by Remi Tricot-Le Breton
· Wed Dec 23 18:13:52 2020 +0100
ce9e7b2
MEDIUM: cache: Manage a subset of encodings in accept-encoding normalizer
by Remi Tricot-Le Breton
· Wed Dec 23 18:13:49 2020 +0100
6a34b2b
MINOR: cache: Add specific secondary key comparison mechanism
by Remi Tricot-Le Breton
· Wed Dec 23 18:13:47 2020 +0100
e4421de
BUG/MINOR: cache: Manage multiple headers in accept-encoding normalization
by Remi Tricot-Le Breton
· Wed Dec 23 18:13:46 2020 +0100
2b5c5cb
MINOR: cache: Avoid storing responses whose secondary key was not correctly calculated
by Remi Tricot-Le Breton
· Wed Dec 23 18:13:45 2020 +0100
bba2912
MINOR: cache: Refactoring of secondary_key building functions
by Remi Tricot-Le Breton
· Wed Dec 23 18:13:44 2020 +0100
f38a018
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Mon Dec 21 01:16:17 2020 +0500
5853c0c
MINOR: cache: Add a max-secondary-entries cache option
by Remi Tricot-Le Breton
· Thu Dec 10 17:58:43 2020 +0100
73be796
MEDIUM: cache: Avoid going over duplicates lists too often
by Remi Tricot-Le Breton
· Thu Dec 10 17:58:42 2020 +0100
65904e4
MEDIUM: cache: Add a secondary entry counter and insertion limitation
by Remi Tricot-Le Breton
· Thu Dec 10 17:58:41 2020 +0100
964caaf
BUG/MAJOR: cache: Crash because of disabled entry not removed from the tree
by Remi Tricot-Le Breton
· Tue Dec 15 14:30:12 2020 +0100
e3e1e5f
MINOR: cache: Dump secondary entries in "show cache"
by Remi Tricot-Le Breton
· Fri Nov 27 15:48:40 2020 +0100
51058d6
MINOR: cache: Consider invalid Age values as stale
by Remi Tricot-Le Breton
· Thu Dec 03 18:19:32 2020 +0100
72cffaf
MEDIUM: cache: Remove cache entry in case of POST on the same resource
by Remi Tricot-Le Breton
· Thu Dec 03 18:19:31 2020 +0100
fcea374
MINOR: cache: Add extra "cache-control" value checks
by Remi Tricot-Le Breton
· Thu Dec 03 18:19:30 2020 +0100
795e141
MINOR: cache: Do not store stale entry
by Remi Tricot-Le Breton
· Thu Dec 03 18:19:29 2020 +0100
3243447
MINOR: cache: Add entry to the tree as soon as possible
by Remi Tricot-Le Breton
· Wed Nov 25 10:09:43 2020 +0100
8bb72aa
MINOR: cache: Improve accept_encoding_normalizer
by Remi Tricot-Le Breton
· Mon Nov 30 17:06:03 2020 +0100
23b2945
BUG/CRITICAL: cache: Fix trivial crash by sending accept-encoding header
by Tim Duesterhus
· Tue Nov 24 22:22:56 2020 +0100
754b242
MINOR: cache: Add a process-vary option that can enable/disable Vary processing
by Remi Tricot-Le Breton
· Mon Nov 16 15:56:10 2020 +0100
1785f3d
MEDIUM: cache: Add the Vary header support
by Remi Tricot-Le Breton
· Mon Nov 16 15:56:09 2020 +0100
3d08236
MINOR: cache: Prepare helper functions for Vary support
by Remi Tricot-Le Breton
· Mon Nov 16 15:56:08 2020 +0100
fc633b6
CLEANUP: config: Return ERR_NONE from config callbacks instead of 0
by Christopher Faulet
· Fri Nov 06 15:24:23 2020 +0100
cc9bf2e
MEDIUM: cache: Change caching conditions
by Remi Tricot-Le Breton
· Thu Nov 12 11:14:41 2020 +0100
8c2db71
BUG/MINOR: cache: Inverted variables in http_calc_maxage function
by Remi Tricot-Le Breton
· Fri Oct 30 14:26:13 2020 +0100
a647611
MINOR: cache: Add Expires header value parsing
by Remi Tricot-Le Breton
· Wed Oct 28 17:52:53 2020 +0100
bf97121
MINOR: cache: Create res.cache_hit and res.cache_name sample fetches
by Remi Tricot-Le Breton
· Tue Oct 27 11:55:57 2020 +0100
53161d8
MINOR: cache: Process the If-Modified-Since header in conditional requests
by Remi Tricot-Le Breton
· Fri Oct 23 10:51:28 2020 +0200
27091b4
MINOR: cache: Store the "Last-Modified" date in the cache_entry
by Remi Tricot Le Breton
· Fri Oct 23 10:51:27 2020 +0200
e014234
BUG/MINOR: cache: Check the return value of http_replace_res_status
by Tim Duesterhus
· Thu Oct 22 21:15:06 2020 +0200
6cb1038
MEDIUM: cache: Add support for 'If-None-Match' request header
by Remi Tricot-Le Breton
· Thu Oct 22 10:40:05 2020 +0200
dbb65b5
MEDIUM: cache: Store the ETag information in the cache_entry
by Remi Tricot-Le Breton
· Thu Oct 22 10:40:04 2020 +0200
d7c6e6a
CLEANUP: cache: Fix leak of cconf->c.name during config check
by Tim Duesterhus
· Mon Sep 14 18:01:33 2020 +0200
ff4d86b
MINOR: cache: Reject duplicate cache names
by Tim Duesterhus
· Tue Aug 18 22:20:27 2020 +0200
ea969f6
DOC: cache: Use '<name>' instead of '<id>' in error message
by Tim Duesterhus
· Tue Aug 18 22:06:51 2020 +0200
810df06
MEDIUM: htx: Add a flag on a HTX message when no more data are expected
by Christopher Faulet
· Wed Jul 22 16:20:34 2020 +0200
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· Tue Jun 09 09:07:15 2020 +0200
36979d9
REORG: include: move the error reporting functions to from log.h to errors.h
by Willy Tarreau
· Fri Jun 05 17:27:29 2020 +0200
6be7849
REORG: include: move cfgparse.h to haproxy/cfgparse.h
by Willy Tarreau
· Fri Jun 05 00:00:29 2020 +0200
dfd3de8
REORG: include: move stream.h to haproxy/stream{,-t}.h
by Willy Tarreau
· Thu Jun 04 23:46:14 2020 +0200
a264d96
REORG: include: move proxy.h to haproxy/proxy{,-t}.h
by Willy Tarreau
· Thu Jun 04 22:29:18 2020 +0200
aeed4a8
REORG: include: move log.h to haproxy/log{,-t}.h
by Willy Tarreau
· Thu Jun 04 22:01:04 2020 +0200
Next »