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 25c546a commit 8ab6573Copy full SHA for 8ab6573
src/http/modules/ngx_http_proxy_module.c
@@ -1383,7 +1383,7 @@ ngx_http_proxy_create_request(ngx_http_request_t *r)
1383
i = 0;
1384
}
1385
1386
- if (ngx_hash_find(&headers->hash, header[i].hash,
+ if (header[i].hash == 0 || ngx_hash_find(&headers->hash, header[i].hash,
1387
header[i].lowcase_key, header[i].key.len))
1388
{
1389
continue;
@@ -1519,7 +1519,7 @@ ngx_http_proxy_create_request(ngx_http_request_t *r)
1519
1520
1521
1522
1523
1524
1525
0 commit comments