We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 873bfc7 commit 840aaacCopy full SHA for 840aaac
src/ngx_http_redirectionio_module.c
@@ -175,7 +175,7 @@ static ngx_int_t ngx_http_redirectionio_postconfiguration(ngx_conf_t *cf) {
175
static ngx_int_t ngx_http_redirectionio_create_ctx_handler(ngx_http_request_t *r) {
176
ngx_http_redirectionio_ctx_t *ctx;
177
ngx_http_redirectionio_conf_t *conf;
178
- ngx_http_cleanup_t *cln;
+ ngx_pool_cleanup_t *cln;
179
180
// Disallow in sub request
181
if (r != r->main) {
@@ -226,7 +226,7 @@ static ngx_int_t ngx_http_redirectionio_create_ctx_handler(ngx_http_request_t *r
226
return NGX_DECLINED;
227
}
228
229
- cln = ngx_http_cleanup_add(r, 0);
+ cln = ngx_pool_cleanup_add(r->pool, 0);
230
231
if (cln == NULL) {
232
0 commit comments