mirror of
https://github.com/nginx/nginx.git
synced 2024-11-21 16:28:40 +00: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) {
|
||||
return rc;
|
||||
}
|
||||
} else {
|
||||
h->next = NULL;
|
||||
}
|
||||
|
||||
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user