Skip to content

Commit 67d5b13

Browse files
committed
feat(agent): update api to use new api of libredirectionio, update test system to handle gzip
1 parent 212e347 commit 67d5b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/ngx_http_redirectionio_module_filter.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ static ngx_int_t ngx_http_redirectionio_create_filter_body(ngx_http_request_t *r
198198
}
199199

200200
// Create body filter
201-
ctx->body_filter = (struct REDIRECTIONIO_FilterBodyAction *)redirectionio_action_body_filter_create(ctx->action, ctx->backend_response_status_code);
201+
ctx->body_filter = (struct REDIRECTIONIO_FilterBodyAction *)redirectionio_action_body_filter_create(ctx->action, ctx->backend_response_status_code, ctx->response_headers);
202202

203203
if (ctx->body_filter != NULL) {
204204
// Remove content length header

0 commit comments

Comments
 (0)