Proxy: always initialize header's chain next field

This commit is contained in:
Valery Chistyakov 2024-09-28 11:08:32 +03:00
parent 51857ce404
commit 9c7527918e
Failed to extract signature

View File

@ -1949,6 +1949,8 @@ ngx_http_proxy_process_header(ngx_http_request_t *r)
if (rc != NGX_OK) {
return rc;
}
} else {
h->next = NULL;
}
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,