mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-29 14:50:59 +01:00
CLEANUP: compression: remove unused deinit_comp_ctx section
Since commit 27d93c3f9428 ("BUG/MAJOR: compression/cache: Make it
really works with these both filters"), we no longer use section
deinit_comp_ctx.
This should fix github issue #441
Signed-off-by: William Dauchy <w.dauchy@criteo.com>
This commit is contained in:
parent
238ea3bd75
commit
8602394040
@ -577,8 +577,6 @@ select_compression_response_header(struct comp_state *st, struct stream *s, stru
|
|||||||
msg->flags |= HTTP_MSGF_COMPRESSING;
|
msg->flags |= HTTP_MSGF_COMPRESSING;
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
deinit_comp_ctx:
|
|
||||||
st->comp_algo->end(&st->comp_ctx);
|
|
||||||
fail:
|
fail:
|
||||||
st->comp_algo = NULL;
|
st->comp_algo = NULL;
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user