From 67d5b13537c9d2d09f08dd14bd0e502c690601e6 Mon Sep 17 00:00:00 2001 From: Joel Wurtz Date: Thu, 27 Oct 2022 19:15:53 +0200 Subject: [PATCH] feat(agent): update api to use new api of libredirectionio, update test system to handle gzip --- src/ngx_http_redirectionio_module_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngx_http_redirectionio_module_filter.c b/src/ngx_http_redirectionio_module_filter.c index b95decf..c25fe22 100644 --- a/src/ngx_http_redirectionio_module_filter.c +++ b/src/ngx_http_redirectionio_module_filter.c @@ -198,7 +198,7 @@ static ngx_int_t ngx_http_redirectionio_create_filter_body(ngx_http_request_t *r } // Create body filter - ctx->body_filter = (struct REDIRECTIONIO_FilterBodyAction *)redirectionio_action_body_filter_create(ctx->action, ctx->backend_response_status_code); + ctx->body_filter = (struct REDIRECTIONIO_FilterBodyAction *)redirectionio_action_body_filter_create(ctx->action, ctx->backend_response_status_code, ctx->response_headers); if (ctx->body_filter != NULL) { // Remove content length header