diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2022-05-30 21:25:27 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2022-05-30 21:25:27 +0300 |
commit | d8a7c653e4b8e842c947c0a550a7bc5a7812058a (patch) | |
tree | cf35530032c5eea4e7cd15fb893fe9ddd0e46730 /src/http/ngx_http_request.h | |
parent | 8ad0f62863aaa7ed64b4514c4c1d3ba924410c16 (diff) | |
download | nginx-d8a7c653e4b8e842c947c0a550a7bc5a7812058a.tar.gz nginx-d8a7c653e4b8e842c947c0a550a7bc5a7812058a.zip |
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".
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index b1269d22d..52165793a 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -242,6 +242,8 @@ typedef struct { unsigned connection_type:2; unsigned chunked:1; + unsigned multi:1; + unsigned multi_linked:1; unsigned msie:1; unsigned msie6:1; unsigned opera:1; |