mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-26 18:47:35 +02:00
MINOR: compression: Store algo and type for both request and response
Make provision for being able to store both compression algorithms and content-types to compress for both requests and responses. For now only the responses one are used.
This commit is contained in:
committed by
Olivier Houchard
parent
dfc11da561
commit
db573e9c58
@@ -27,8 +27,8 @@
|
||||
|
||||
extern unsigned int compress_min_idle;
|
||||
|
||||
int comp_append_type(struct comp *comp, const char *type);
|
||||
int comp_append_algo(struct comp *comp, const char *algo);
|
||||
int comp_append_type(struct comp_type **types, const char *type);
|
||||
int comp_append_algo(struct comp_algo **algos, const char *algo);
|
||||
|
||||
#ifdef USE_ZLIB
|
||||
extern long zlib_used_memory;
|
||||
|
||||
Reference in New Issue
Block a user