]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: compression: remove unused deinit_comp_ctx section
authorWilliam Dauchy <w.dauchy@criteo.com>
Sat, 11 Jan 2020 10:40:42 +0000 (11:40 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 15 Jan 2020 09:58:17 +0000 (10:58 +0100)
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>
src/flt_http_comp.c

index e98ff46ba0337ef09a2ba6edb954d44eac3b454a..574b93734911f6d93dd0dcb7a370256f8ea83392 100644 (file)
@@ -577,8 +577,6 @@ select_compression_response_header(struct comp_state *st, struct stream *s, stru
        msg->flags |= HTTP_MSGF_COMPRESSING;
        return 1;
 
-  deinit_comp_ctx:
-       st->comp_algo->end(&st->comp_ctx);
   fail:
        st->comp_algo = NULL;
        return 0;