Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
0f9c0f5801fb3721a5b6e5efb492f942b6ffbd5e
/
src
/
compression.c
197715a
CLEANUP: compression: move the default setting of maxzlibmem to defaults
by Willy Tarreau
· Mon Apr 25 19:29:10 2022 +0200
45c38e2
REORG: thread/clock: move the clock parts of thread_info to thread_ctx
by Willy Tarreau
· Thu Sep 30 18:28:49 2021 +0200
6443bcc
BUG/MINOR: compression: Missing calloc return value check in comp_append_type/algo
by Remi Tricot-Le Breton
· Mon May 17 10:35:08 2021 +0200
c624da0
BUILD: compression: include tools.h in compression.c
by Willy Tarreau
· Sat May 08 13:57:19 2021 +0200
5e65f42
CLEANUP: compression: remove calls to SLZ init functions
by Willy Tarreau
· Thu Apr 22 14:43:49 2021 +0200
12840be
BUILD: compression: switch SLZ from out-of-tree to in-tree
by Willy Tarreau
· Thu Apr 22 14:14:22 2021 +0200
ff88270
MINOR: pool: move pool declarations to read_mostly
by Willy Tarreau
· Sat Apr 10 17:23:00 2021 +0200
862ad82
CLEANUP: compression: do not test for buffer before calling b_alloc()
by Willy Tarreau
· Mon Mar 22 16:16:22 2021 +0100
5a1c728
CLEANUP: config: also address the cfg_keyword API change in the compression code
by Willy Tarreau
· Tue Mar 09 16:55:18 2021 +0100
e5ff141
CLEANUP: Compare the return value of `XXXcmp()` functions with zero
by Tim Duesterhus
· Sat Jan 02 22:31:53 2021 +0100
d999a49
BUILD: compression: make gcc 10 happy with free_zlib()
by Willy Tarreau
· Sun Jun 14 07:50:18 2020 +0200
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· Tue Jun 09 09:07:15 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
dcc048a
REORG: include: move acl.h to haproxy/acl.h{,-t}.h
by Willy Tarreau
· Thu Jun 04 19:11:43 2020 +0200
f268ee8
REORG: include: split global.h into haproxy/global{,-t}.h
by Willy Tarreau
· Thu Jun 04 17:05:57 2020 +0200
0a3bd39
REORG: include: move compression.h to haproxy/compression{,-t}.h
by Willy Tarreau
· Thu Jun 04 08:52:38 2020 +0200
2741c8c
REORG: include: move common/buffer.h to haproxy/dynbuf{,-t}.h
by Willy Tarreau
· Tue Jun 02 11:28:02 2020 +0200
d0ef439
REORG: include: move common/memory.h to haproxy/pool.h
by Willy Tarreau
· Tue Jun 02 09:38:52 2020 +0200
6634794
REORG: include: move freq_ctr to haproxy/
by Willy Tarreau
· Mon Jun 01 12:18:08 2020 +0200
3f567e4
REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h
by Willy Tarreau
· Thu May 28 15:29:19 2020 +0200
4c7e4b7
REORG: include: update all files to use haproxy/api.h or api-t.h if needed
by Willy Tarreau
· Wed May 27 12:58:42 2020 +0200
81036f2
MINOR: time: move the cpu, mono, and idle time to thread_info
by Willy Tarreau
· Mon May 20 19:24:50 2019 +0200
43da343
MEDIUM: compression: Use the new _HA_ATOMIC_* macros.
by Olivier Houchard
· Fri Mar 08 18:50:27 2019 +0100
8ceae72
MEDIUM: init: use initcall for all fixed size pool creations
by Willy Tarreau
· Mon Nov 26 11:58:30 2018 +0100
8071338
MINOR: initcall: apply initcall to all register_build_opts() calls
by Willy Tarreau
· Mon Nov 26 10:19:54 2018 +0100
86abe44
MEDIUM: init: use self-initializing spinlocks and rwlocks
by Willy Tarreau
· Sun Nov 25 20:12:18 2018 +0100
0108d90
MEDIUM: init: convert all trivial registration calls to initcalls
by Willy Tarreau
· Sun Nov 25 19:14:37 2018 +0100
e548974
MINOR: compression: always create the compression pool
by Willy Tarreau
· Mon Nov 26 14:44:03 2018 +0100
3bfcd10
BUILD: compression: fix build error with DEFAULT_MAXZLIBMEM
by Willy Tarreau
· Mon Nov 26 10:24:45 2018 +0100
35b51c6
REORG: http: move the HTTP semantics definitions to http.h/http.c
by Willy Tarreau
· Mon Sep 10 15:38:55 2018 +0200
c9fa048
MAJOR: buffer: finalize buffer detachment
by Willy Tarreau
· Tue Jul 10 17:43:27 2018 +0200
0b66284
MEDIUM: compression: start to move to the new buffer API
by Olivier Houchard
· Fri Jun 29 18:16:31 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
eac5259
MINOR: buffer: use b_room() to determine available space in a buffer
by Willy Tarreau
· Fri Jun 15 13:59:36 2018 +0200
8f9c72d
MINOR: buffer: remove bi_end()
by Willy Tarreau
· Thu Jun 07 18:46:28 2018 +0200
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· Fri Nov 24 17:34:44 2017 +0100
9dcf9b6
MINOR: threads: Use __decl_hathreads to declare locks
by Christopher Faulet
· Mon Nov 13 10:34:01 2017 +0100
11f5886
BUG/MINOR: comp: fix compilation warning compiling without compression.
by Emeric Brun
· Tue Nov 07 11:57:54 2017 +0100
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· Tue Nov 07 10:42:54 2017 +0100
8ca3b4b
MEDIUM: threads/compression: Make HTTP compression thread-safe
by Christopher Faulet
· Tue Jul 25 11:07:15 2017 +0200
b732321
MINOR: compression: fix -vv output without zlib/slz
by Lukas Tribus
· Wed Jan 11 14:24:35 2017 +0000
3687803
MEDIUM: compression: move the zlib-specific stuff from global.h to compression.c
by Willy Tarreau
· Thu Dec 22 19:46:17 2016 +0100
b97c6fb
CLEANUP: compression: use the build options list to report the algos
by Willy Tarreau
· Wed Dec 21 19:30:30 2016 +0100
e1cc4b5
BUILD: compression: remove a warning when no compression lib is used
by Willy Tarreau
· Wed Aug 10 21:17:06 2016 +0200
d8b8b53
BUG/MAJOR: compression: initialize avail_in/next_in even during flush
by Willy Tarreau
· Mon Aug 08 16:41:01 2016 +0200
02779b6
CLEANUP: uniformize last argument of malloc/calloc
by Vincent Bernat
· Sun Apr 03 13:48:43 2016 +0200
3d97c90
REORG: filters: Prepare creation of the HTTP compression filter
by Christopher Faulet
· Wed Dec 09 14:59:38 2015 +0100
d7c9196
MAJOR: filters: Add filters support
by Christopher Faulet
· Thu Apr 30 11:48:27 2015 +0200
136f9d3
MINOR: samples: rename union from "data" to "u"
by Thierry FOURNIER
· Wed Aug 19 09:07:19 2015 +0200
8c542ca
MEDIUM: samples: Use the "struct sample_data" in the "struct sample"
by Thierry FOURNIER
· Wed Aug 19 09:00:18 2015 +0200
07ee64e
MAJOR: sample: converts uint and sint in 64 bits signed integer
by Thierry FOURNIER
· Mon Jul 06 23:43:03 2015 +0200
0786d05
MEDIUM: sample: change the prototype of sample-fetches functions
by Thierry FOURNIER
· Mon May 11 15:42:45 2015 +0200
0a9a2b8
MEDIUM: sample change the prototype of sample-fetches and converters functions
by Thierry FOURNIER
· Mon May 11 15:20:49 2015 +0200
d0d8da9
MINOR: stream: provide a few helpers to retrieve frontend, listener and origin
by Willy Tarreau
· Sat Apr 04 02:10:38 2015 +0200
192252e
MAJOR: sample: pass a pointer to the session to each sample fetch function
by Willy Tarreau
· Sat Apr 04 01:47:55 2015 +0200
15e91e1
MAJOR: sample: don't pass l7 anymore to sample fetch functions
by Willy Tarreau
· Sat Apr 04 00:52:09 2015 +0200
eee5b51
MAJOR: http: move http_txn out of struct stream
by Willy Tarreau
· Fri Apr 03 23:46:31 2015 +0200
e36cbcb
MEDIUM: stream: move the frontend's pointer to the session
by Willy Tarreau
· Fri Apr 03 15:40:56 2015 +0200
87b0966
REORG/MAJOR: session: rename the "session" entity to "stream"
by Willy Tarreau
· Fri Apr 03 00:22:06 2015 +0200
418b8c0
MAJOR: compression: integrate support for libslz
by Willy Tarreau
· Sun Mar 29 03:32:06 2015 +0200
7b21877
CLEANUP: compression: remove unused reset functions
by Willy Tarreau
· Sat Mar 28 22:08:25 2015 +0100
9787efa
MEDIUM: compression: split deflate_flush() into flush and finish
by Willy Tarreau
· Sat Mar 28 19:17:31 2015 +0100
c91840a
MEDIUM: compression: add new "raw-deflate" compression algorithm
by Willy Tarreau
· Sat Mar 28 17:00:39 2015 +0100
615105e
MEDIUM: compression: add a distinction between UA- and config- algorithms
by Willy Tarreau
· Sat Mar 28 16:40:46 2015 +0100
9f640a1
CLEANUP: compression: statify all algo-specific functions
by Willy Tarreau
· Sat Mar 28 15:46:00 2015 +0100
2aee221
BUG/MINOR: compression: consider the expansion factor in init
by Willy Tarreau
· Sat Mar 28 12:20:33 2015 +0100
15530d2
MEDIUM: compression: don't send leading zeroes with chunk size
by Willy Tarreau
· Sat Mar 28 12:05:47 2015 +0100
d328af5
MEDIUM: compression: postpone buffer adjustments after compression
by Willy Tarreau
· Sat Mar 28 11:10:56 2015 +0100
f41a809
MINOR: sample: add private argument to the struct sample_fetch
by Thierry FOURNIER
· Sun Dec 07 18:37:57 2014 +0100
e583ea5
MEDIUM: buffer: use b_alloc() to allocate and initialize a buffer
by Willy Tarreau
· Mon Nov 24 11:30:16 2014 +0100
474cf54
MINOR: buffer: reset a buffer in b_reset() and not channel_init()
by Willy Tarreau
· Mon Nov 24 10:54:47 2014 +0100
4f31fc2
BUG/MEDIUM: compression: correctly report zlib_mem
by Willy Tarreau
· Wed Dec 24 18:07:55 2014 +0100
3ca5448
BUG/MINOR: compression: correctly report incoming byte count
by Willy Tarreau
· Wed Apr 23 19:31:17 2014 +0200
7f2f8d5
MAJOR: http/compression: fix chunked-encoded response processing
by Willy Tarreau
· Fri Apr 18 00:20:14 2014 +0200
c24715e
MAJOR: http: don't update msg->sov anymore while processing the body
by Willy Tarreau
· Thu Apr 17 15:21:20 2014 +0200
877e78d
MAJOR: http: do not use msg->sol while processing messages or forwarding data
by Willy Tarreau
· Sun Apr 07 18:48:08 2013 +0200
7654c9f
MEDIUM: sample: Remove types SMP_T_CSTR and SMP_T_CBIN, replace it by SMP_F_CONST flags
by Thierry FOURNIER
· Tue Dec 17 00:20:33 2013 +0100
4a4e6bc
BUG/MEDIUM: compression: fix the output type of the compressor name
by Willy Tarreau
· Tue Mar 11 16:23:05 2014 +0100
ef38c39
MEDIUM: sample: systematically pass the keyword pointer to the keyword
by Willy Tarreau
· Mon Jul 22 16:29:32 2013 +0200
dc13c11
BUG/MEDIUM: prevent gcc from moving empty keywords lists into BSS
by Willy Tarreau
· Fri Jun 21 23:16:39 2013 +0200
6d4e4e8
MEDIUM: acl: remove a lot of useless ACLs that are equivalent to their fetches
by Willy Tarreau
· Tue Jun 11 21:22:58 2013 +0200
c5599e7
BUG/MEDIUM: compression: the deflate algorithm must use global settings as well
by Willy Tarreau
· Sun Apr 28 08:52:52 2013 +0200
7f6fa69
BUG/MINOR: fix unterminated ACL array in compression
by Willy Tarreau
· Tue Apr 23 19:39:43 2013 +0200
727db8b
MINOR: compression: acl "res.comp" and fetch "res.comp_algo"
by William Lallemand
· Sat Apr 20 17:33:20 2013 +0200
00bf1de
BUG/MEDIUM: compression: does not forward trailers
by William Lallemand
· Thu Nov 22 17:55:14 2012 +0100
55058a7
MINOR: stats: report HTTP compression stats per frontend and per backend
by Willy Tarreau
· Wed Nov 21 08:27:21 2012 +0100
072a2bf
MINOR: compression: CPU usage limit
by William Lallemand
· Tue Nov 20 17:01:01 2012 +0100
c714076
BUG/MINOR: compression: dynamic level increase
by William Lallemand
· Tue Nov 20 17:11:13 2012 +0100
e3a7d99
MINOR: compression: report zlib memory usage
by William Lallemand
· Tue Nov 20 11:25:20 2012 +0100
8b52bb3
MEDIUM: compression: use pool for comp_ctx
by William Lallemand
· Fri Nov 16 18:06:41 2012 +0100
bf3ae61
MEDIUM: compression: don't compress when no data
by William Lallemand
· Mon Nov 19 12:35:37 2012 +0100
4690985
BUG: compression: do not always increment the round counter on allocation failure
by Willy Tarreau
· Thu Nov 15 14:57:56 2012 +0100
6162c43
BUILD: report zlib support in haproxy -vv
by Cyril Bonté
· Sat Nov 10 19:27:47 2012 +0100
b1fbd05
BUILD: compression: remove a build warning
by Willy Tarreau
· Sat Nov 10 17:49:37 2012 +0100
d85f917
MINOR: compression: maximum compression rate limit
by William Lallemand
· Fri Nov 09 17:05:39 2012 +0100
9d5f548
MEDIUM: compression: limit RAM usage
by William Lallemand
· Wed Nov 07 16:12:57 2012 +0100
2b50247
MEDIUM: use pool for zlib
by William Lallemand
· Tue Oct 30 14:30:39 2012 +0100
a509e4c
MINOR: compression: memlevel and windowsize
by William Lallemand
· Wed Nov 07 16:54:34 2012 +0100
08289f1
BUILD: remove dependency to zlib.h
by William Lallemand
· Wed Oct 31 11:19:18 2012 +0100
Next »