Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
370e0f1de5674ccc06773165d9da2afb90a60638
/
src
/
cache.c
6fb0f21
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Thu Apr 02 15:25:26 2020 +0500
65554e1
MINOR: cache/filters: Initialize the cache filter when stream is created
by Christopher Faulet
· Fri Mar 06 14:52:06 2020 +0100
497c759
BUG/MEDIUM: cache/filters: Fix loop on HTX blocks caching the response payload
by Christopher Faulet
· Mon Mar 02 16:19:50 2020 +0100
8b50758
CLEANUP: cache: use read_u32/write_u32 to access the cache entry's hash
by Willy Tarreau
· Tue Feb 25 09:35:07 2020 +0100
d34b1ce
BUG/MINOR: cache: Fix leak of cache name in error path
by Tim Duesterhus
· Sat Jan 18 01:46:18 2020 +0100
20020ae
MINOR: chunk: add chunk_istcat() to concatenate an ist after a chunk
by Willy Tarreau
· Tue Oct 29 13:02:15 2019 +0100
d1d1e22
BUG/MINOR: cache: alloc shctx after check config
by William Lallemand
· Wed Aug 28 15:22:49 2019 +0200
ccc61d8
BUG/MINOR: cache: also cache absolute URIs
by Willy Tarreau
· Thu Oct 17 09:28:28 2019 +0200
22c6107
BUG/MEDIUM: cache: make sure not to cache requests with absolute-uri
by Willy Tarreau
· Mon Oct 07 14:06:34 2019 +0200
6905d18
Revert "MINOR: cache: allow caching of OPTIONS request"
by Willy Tarreau
· Tue Oct 01 17:59:17 2019 +0200
78fbb9f
MEDIUM: fcgi-app: Add FCGI application and filter
by Christopher Faulet
· Sun Aug 11 23:11:03 2019 +0200
b066747
BUG/MEDIUM: cache: Don't cache objects if the size of headers is too big
by Christopher Faulet
· Tue Sep 03 22:22:12 2019 +0200
15a4ce8
BUG/MEDIUM: cache: Properly copy headers splitted on several shctx blocks
by Christopher Faulet
· Tue Sep 03 22:11:52 2019 +0200
1263540
MINOR: cache: allow caching of OPTIONS request
by Baptiste Assmann
· Wed Aug 07 12:24:36 2019 +0200
db92a83
MINOR: cache: add method to cache hash
by Baptiste Assmann
· Mon Aug 05 16:55:32 2019 +0200
f734638
MINOR: http: Don't store raw HTTP errors in chunks anymore
by Christopher Faulet
· Wed Jul 17 22:02:08 2019 +0200
fc9cfe4
REORG: proto_htx: Move HTX analyzers & co to http_ana.{c,h} files
by Christopher Faulet
· Tue Jul 16 14:54:53 2019 +0200
711ed6a
MAJOR: http: Remove the HTTP legacy code
by Christopher Faulet
· Tue Jul 16 14:16:10 2019 +0200
95e7ea3
MEDIUM: cache: Remove code relying on the legacy HTTP mode
by Christopher Faulet
· Mon Jul 15 21:01:29 2019 +0200
8f7fe1c
MINOR: cache: Remove tests on the option 'http-use-htx'
by Christopher Faulet
· Mon Jul 15 15:08:25 2019 +0200
5f2c49f
BUG/MINOR: cache/htx: Make maxage calculation HTX aware
by Christopher Faulet
· Mon Jul 15 20:49:46 2019 +0200
bda8397
BUG/MINOR: cache/htx: Fix the counting of data already sent by the cache applet
by Christopher Faulet
· Tue Jun 11 09:58:09 2019 +0200
2d7c539
MEDIUM: htx: Add the parsing of trailers of chunked messages
by Christopher Faulet
· Mon Jun 03 10:41:26 2019 +0200
8f3c256
MEDIUM: cache/htx: Always store info about HTX blocks in the cache
by Christopher Faulet
· Mon Jun 03 22:19:18 2019 +0200
0a7ef02
MINOR: htx: make htx_add_data() return the transmitted byte count
by Willy Tarreau
· Tue May 28 10:30:11 2019 +0200
ee847d4
MEDIUM: filters/htx: Filter body relatively to the first block
by Christopher Faulet
· Thu May 23 11:55:33 2019 +0200
29f1758
MEDIUM: htx: Store the first block position instead of the start-line one
by Christopher Faulet
· Thu May 23 11:03:26 2019 +0200
a3f1550
MEDIUM: http/htx: Perform analysis relatively to the first block
by Christopher Faulet
· Mon May 13 15:27:23 2019 +0200
297fbb4
MINOR: htx: Replace the function http_find_stline() by http_get_stline()
by Christopher Faulet
· Mon May 13 14:41:27 2019 +0200
9c66b98
MINOR: htx: Store start-line block's position instead of address of its payload
by Christopher Faulet
· Tue Apr 30 18:08:26 2019 +0200
2231b63
BUILD: cache: avoid a build warning with some compilers/linkers
by Willy Tarreau
· Fri Mar 29 18:26:52 2019 +0100
0f22299
CLEANUP: cache: don't export http_cache_applet anymore
by Willy Tarreau
· Tue Mar 19 09:57:55 2019 +0100
adb3631
BUG/MINOR: cache: Fully consume large requests in the cache applet
by Christopher Faulet
· Mon Feb 25 11:40:49 2019 +0100
aa090d4
MEDIUM: cache: Use the new _HA_ATOMIC_* macros.
by Olivier Houchard
· Fri Mar 08 18:49:24 2019 +0100
f0dd037
BUG/MINOR: cache/htx: Return only the headers of cached objects to HEAD requests
by Christopher Faulet
· Mon Feb 25 11:08:34 2019 +0100
b3d4bca
BUG/MEDIUM: cache: Get objects from the cache only for GET and HEAD requests
by Christopher Faulet
· Mon Feb 25 10:59:33 2019 +0100
a0df957
BUG/MAJOR: cache/htx: Set the start-line offset when a cached object is served
by Christopher Faulet
· Mon Feb 25 11:15:08 2019 +0100
c9036c0
BUG/MAJOR: cache: fix confusion between zero and uninitialized cache key
by Willy Tarreau
· Fri Jan 11 19:38:25 2019 +0100
839791a
BUG/MINOR: cache: Disable the cache if any compression filter precedes it
by Christopher Faulet
· Mon Jan 07 16:12:07 2019 +0100
cc15662
BUG/MEDIUM: cache/htx: Respect the reserve when cached objects are served
by Christopher Faulet
· Mon Jan 07 14:07:29 2019 +0100
74b41ba
BUG/MINOR: cache/htx: Be sure to count partial trailers
by Christopher Faulet
· Fri Jan 04 16:15:34 2019 +0100
6112391
BUG/MEDIUM: cache: Be sure to end the forwarding when XFER length is unknown
by Christopher Faulet
· Wed Jan 02 14:10:01 2019 +0100
14bfe9a
CLEANUP: stream-int: consistently call the si/stream_int functions
by Willy Tarreau
· Wed Dec 19 15:19:27 2018 +0100
efef323
BUG/MINOR: cache: also consider CF_SHUTR to abort delivery
by Willy Tarreau
· Sun Dec 16 00:37:45 2018 +0100
273e964
BUG/MEDIUM: htx/cache: use the correct class of error codes on abort
by Willy Tarreau
· Sun Dec 16 00:35:15 2018 +0100
27d93c3
BUG/MAJOR: compression/cache: Make it really works with these both filters
by Christopher Faulet
· Sat Dec 15 22:32:02 2018 +0100
a1214a5
MINOR: cache: report the number of cache lookups and cache hits
by Willy Tarreau
· Fri Dec 14 14:00:25 2018 +0100
a73da1e
BUG/MEDIUM: cache: fix random crash on filter parser's error path
by Willy Tarreau
· Fri Dec 14 10:19:28 2018 +0100
b96b77e
REORG: htx: merge types+proto into common/htx.h
by Willy Tarreau
· Tue Dec 11 10:22:41 2018 +0100
99a17a2
MEDIUM: cache: Require an explicit filter declaration if other filters are used
by Christopher Faulet
· Tue Dec 11 09:18:27 2018 +0100
afd819c
MEDIUM: cache/compression: Add a way to safely combined compression and cache
by Christopher Faulet
· Tue Dec 11 08:57:45 2018 +0100
f4a4ef7
MINOR: filters: Export the name of known filters
by Christopher Faulet
· Fri Dec 07 17:39:53 2018 +0100
95220e2
MINOR: cache: Improve and simplify the cache configuration check
by Christopher Faulet
· Fri Dec 07 17:34:39 2018 +0100
54a8d5a
MEDIUM: cache/htx: Add the HTX support into the cache
by Christopher Faulet
· Fri Dec 07 12:21:11 2018 +0100
67658c9
MINOR: cache: Register the cache as a data filter only if response is cacheable
by Christopher Faulet
· Thu Dec 06 21:59:39 2018 +0100
1f672c5
MINOR: cache/htx: Don't use the same cache on HTX and legacy HTTP proxies
by Christopher Faulet
· Mon Dec 03 14:30:41 2018 +0100
8ceae72
MEDIUM: init: use initcall for all fixed size pool creations
by Willy Tarreau
· Mon Nov 26 11:58:30 2018 +0100
e655251
MINOR: initcall: use initcalls for section parsers
by Willy Tarreau
· Mon Nov 26 11:33:13 2018 +0100
0108d90
MEDIUM: init: convert all trivial registration calls to initcalls
by Willy Tarreau
· Sun Nov 25 19:14:37 2018 +0100
8dae5b3
CLEANUP: Fix typos in the cache subsystem
by Joseph Herlant
· Thu Nov 15 14:07:53 2018 -0800
db39843
MINOR: stream-int: replace si_cant_put() with si_rx_room_{blk,rdy}()
by Willy Tarreau
· Thu Nov 15 11:08:52 2018 +0100
4b962a4
MEDIUM: stream-int: fix the si_cant_put() calls used for buffer readiness
by Willy Tarreau
· Thu Nov 15 11:03:21 2018 +0100
96062a1
BUILD: cache: fix a build warning regarding too large an integer for the age
by Willy Tarreau
· Sun Nov 11 14:00:28 2018 +0100
0cd3bd6
MINOR: stream-int: rename si_applet_{want|stop|cant}_{get|put}
by Willy Tarreau
· Tue Nov 06 18:46:37 2018 +0100
e7a770c
MINOR: cache: Add "Age" header.
by Frédéric Lécaille
· Fri Oct 26 14:29:22 2018 +0200
4eba544
MINOR: cache: Avoid usage of atoi() when parsing "max-object-size".
by Frédéric Lécaille
· Thu Oct 25 20:29:31 2018 +0200
bc58449
BUG/MINOR: cache: Wrong usage of shctx_init().
by Frédéric Lécaille
· Thu Oct 25 20:18:59 2018 +0200
b9b8b6b
BUG/MINOR: cache: Crashes with "total-max-size" > 2047(MB).
by Frédéric Lécaille
· Thu Oct 25 20:17:45 2018 +0200
a2219f5
MINOR: cache: Add "max-object-size" option.
by Frédéric Lécaille
· Mon Oct 22 16:59:13 2018 +0200
b7838af
MINOR: shctx: Add a maximum object size parameter.
by Frédéric Lécaille
· Mon Oct 22 16:21:39 2018 +0200
8df65ae
MINOR: cache: Larger HTTP objects caching.
by Frédéric Lécaille
· Mon Oct 22 18:01:48 2018 +0200
0bec807
MINOR: shctx: Shared objects block by block allocation.
by Frédéric Lécaille
· Mon Oct 22 17:55:57 2018 +0200
61c112a
REORG: http: move HTTP rules parsing to http_rules.c
by Willy Tarreau
· Tue Oct 02 16:43:32 2018 +0200
6b952c8
REORG: http: move http_get_path() to http.c
by Willy Tarreau
· Mon Sep 10 17:45:34 2018 +0200
83061a8
MAJOR: chunks: replace struct chunk with struct buffer
by Willy Tarreau
· Fri Jul 13 11:56:34 2018 +0200
843b7cb
MEDIUM: chunks: make the chunk struct's fields match the buffer struct
by Willy Tarreau
· Fri Jul 13 10:54:26 2018 +0200
c9fa048
MAJOR: buffer: finalize buffer detachment
by Willy Tarreau
· Tue Jul 10 17:43:27 2018 +0200
178b987
MINOR: cache: use the new buffer API
by Willy Tarreau
· Tue Jun 19 07:13:36 2018 +0200
acd1403
MINOR: buffer: Use b_add()/bo_add() instead of accessing b->i/b->o.
by Olivier Houchard
· Thu Jun 28 18:17:23 2018 +0200
8f9c72d
MINOR: buffer: remove bi_end()
by Willy Tarreau
· Thu Jun 07 18:46:28 2018 +0200
dda2e41
MINOR: buffer: remove bi_ptr()
by Willy Tarreau
· Thu Jun 07 18:08:04 2018 +0200
7194d3c
MINOR: buffer: split bi_contig_data() into ci_contig_data and b_config_data()
by Willy Tarreau
· Wed Jun 06 16:55:45 2018 +0200
bcbd393
MINOR: channel/buffer: replace b_{adv,rew} with c_{adv,rew}
by Willy Tarreau
· Wed Jun 06 07:13:22 2018 +0200
abbf607
MEDIUM: cli: Add payload support
by Aurélien Nephtali
· Wed Apr 18 13:26:46 2018 +0200
1093a45
BUG/MAJOR: cache: always initialize newly created objects
by Willy Tarreau
· Fri Apr 06 19:02:25 2018 +0200
5bd37fa
BUG/MAJOR: cache: fix random crashes caused by incorrect delete() on non-first blocks
by Willy Tarreau
· Wed Apr 04 20:17:03 2018 +0200
afe1de5
BUG/MINOR: cache: fix "show cache" output
by Willy Tarreau
· Wed Apr 04 11:56:43 2018 +0200
d4569d1
BUG/MEDIUM: cache: don't cache the response on no-cache="set-cookie"
by Willy Tarreau
· Fri Dec 22 18:03:04 2017 +0100
504455c
BUG/MEDIUM: cache: respect the request cache-control header
by Willy Tarreau
· Fri Dec 22 17:47:35 2017 +0100
c9bd34c
BUG/MEDIUM: cache: replace old object on store
by Willy Tarreau
· Fri Dec 22 17:42:46 2017 +0100
7704b1e
BUG/MEDIUM: cache: do not try to retrieve host-less requests from the cache
by Willy Tarreau
· Fri Dec 22 16:32:43 2017 +0100
faf2909
BUG/MINOR: cache: do not force the TX_CACHEABLE flag before checking cacheability
by Willy Tarreau
· Thu Dec 21 15:59:17 2017 +0100
bcd9101
BUG/MEDIUM: cache: bad computation of the remaining size
by William Lallemand
· Tue Nov 28 11:33:02 2017 +0100
fd5efb5
CLEANUP: cache: more efficiently pack the struct cache
by Willy Tarreau
· Sun Nov 26 08:54:31 2017 +0100
49b4453
MEDIUM: cache: max-age configuration keyword
by William Lallemand
· Fri Nov 24 18:53:43 2017 +0100
a71cd1d
MINOR: cache: replace a fprint() by an abort()
by William Lallemand
· Fri Nov 24 18:53:42 2017 +0100
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· Fri Nov 24 17:34:44 2017 +0100
fbc74e8
MINOR/CLEANUP: proxy: rename "proxy" to "proxies_list"
by Olivier Houchard
· Fri Nov 24 16:54:05 2017 +0100
767a84b
CLEANUP: log: Rename Alert/Warning in ha_alert/ha_warning
by Christopher Faulet
· Fri Nov 24 16:50:31 2017 +0100
ecb73b1
MINOR: cache: move the refcount decrease in the applet release
by William Lallemand
· Fri Nov 24 14:33:55 2017 +0100
Next »