summaryrefslogtreecommitdiffhomepage
path: root/test/php/header (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-07-05PHP: improved response status code handling.Valentin Bartenev1-0/+4
There's no reason to parse "http_status_line"; the PHP interpreter already does this. If the line contains a valid status code, it's assigned to "http_response_code". This also fixes invalid status line handling, where the nxt_int_parse() function returned -1; it was cast to unsigned, yielding response code 65535.