mirror of
https://github.com/nginx/nginx.git
synced 2025-06-13 06:12:44 +08:00
Proxy: always initialize header's chain next field
This commit is contained in:
parent
51857ce404
commit
9c7527918e
@ -1949,6 +1949,8 @@ ngx_http_proxy_process_header(ngx_http_request_t *r)
|
|||||||
if (rc != NGX_OK) {
|
if (rc != NGX_OK) {
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
h->next = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user