Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.h @ 8020:f8f6b9fee66a
FastCGI: combining headers with identical names (ticket #1724).
FastCGI responder is expected to receive CGI/1.1 environment variables
in the parameters (see section "6.2 Responder" of the FastCGI specification).
Obviously enough, there cannot be multiple environment variables with
the same name.
Further, CGI specification (RFC 3875, section "4.1.18. Protocol-Specific
Meta-Variables") explicitly requires to combine headers: "If multiple
header fields with the same field-name are received then the server MUST
rewrite them as a single value having the same semantics".
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 30 May 2022 21:25:27 +0300 |
parents | 01829d162095 |
children | ef6a3a99a81a |
comparison
equal
deleted
inserted
replaced
8019:0e562a332529 | 8020:f8f6b9fee66a |
---|---|
530 | 530 |
531 ngx_int_t ngx_http_get_forwarded_addr(ngx_http_request_t *r, ngx_addr_t *addr, | 531 ngx_int_t ngx_http_get_forwarded_addr(ngx_http_request_t *r, ngx_addr_t *addr, |
532 ngx_array_t *headers, ngx_str_t *value, ngx_array_t *proxies, | 532 ngx_array_t *headers, ngx_str_t *value, ngx_array_t *proxies, |
533 int recursive); | 533 int recursive); |
534 | 534 |
535 ngx_int_t ngx_http_link_multi_headers(ngx_http_request_t *r); | |
536 | |
535 | 537 |
536 extern ngx_module_t ngx_http_core_module; | 538 extern ngx_module_t ngx_http_core_module; |
537 | 539 |
538 extern ngx_uint_t ngx_http_max_module; | 540 extern ngx_uint_t ngx_http_max_module; |
539 | 541 |