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:
William Dauchy 2020-01-11 11:40:42 +01:00 committed by William Lallemand
parent 238ea3bd75
commit 8602394040

View 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;