]> git.kaiwu.me - nginx.git/commit
SCGI: combining headers with identical names (ticket #1724).
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 30 May 2022 18:25:28 +0000 (21:25 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 30 May 2022 18:25:28 +0000 (21:25 +0300)
commit54ce38187cf4061c68d3955558d325d1c688e0bd
treef2d07308f9740e1e8a98a7b10b12a0d09b390445
parentd8a7c653e4b8e842c947c0a550a7bc5a7812058a
SCGI: combining headers with identical names (ticket #1724).

SCGI specification explicitly forbids headers with duplicate names
(section "3. Request Format"): "Duplicate names are not allowed in
the headers".

Further, provided headers are expected to follow CGI specification,
which also requires to combine headers (RFC 3875, section "4.1.18.
Protocol-Specific Meta-Variables"): "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".
src/http/modules/ngx_http_scgi_module.c