Skip to content

Commit

Permalink
feat(agent): update api to use new api of libredirectionio, update te…
Browse files Browse the repository at this point in the history
…st system to handle gzip
  • Loading branch information
joelwurtz committed Oct 27, 2022
1 parent 212e347 commit 67d5b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_http_redirectionio_module_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67d5b13

Please sign in to comment.