mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-02-26 11:41:50 +01:00
CLEANUP: config: also address the cfg_keyword API change in the compression code
The tests were made on slz and the zlib parsers for memlevel and windowsize
managed to escape the change made by commit 018251667 ("CLEANUP: config: make
the cfg_keyword parsers take a const for the defproxy"). This is now fixed.
This commit is contained in:
parent
4c75195f5b
commit
5a1c7280a9
@ -655,7 +655,7 @@ static int deflate_end(struct comp_ctx **comp_ctx)
|
||||
|
||||
/* config parser for global "tune.zlibmemlevel" */
|
||||
static int zlib_parse_global_memlevel(char **args, int section_type, struct proxy *curpx,
|
||||
struct proxy *defpx, const char *file, int line,
|
||||
const struct proxy *defpx, const char *file, int line,
|
||||
char **err)
|
||||
{
|
||||
if (too_many_args(1, args, err, NULL))
|
||||
@ -677,7 +677,7 @@ static int zlib_parse_global_memlevel(char **args, int section_type, struct prox
|
||||
|
||||
/* config parser for global "tune.zlibwindowsize" */
|
||||
static int zlib_parse_global_windowsize(char **args, int section_type, struct proxy *curpx,
|
||||
struct proxy *defpx, const char *file, int line,
|
||||
const struct proxy *defpx, const char *file, int line,
|
||||
char **err)
|
||||
{
|
||||
if (too_many_args(1, args, err, NULL))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user