summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2019-07-05 18:42:30 +0300
committerValentin Bartenev <vbart@nginx.com>2019-07-05 18:42:30 +0300
commit924165c90ba51dd4ffea2c45541d46af56352d73 (patch)
tree2e0287393a13e2c0fc162585d73f72eea7fb8332 /src/nxt_application.h
parente1de5bcfabf468b88b42aa27c60a643e97aacc11 (diff)
downloadunit-924165c90ba51dd4ffea2c45541d46af56352d73.tar.gz
unit-924165c90ba51dd4ffea2c45541d46af56352d73.tar.bz2
PHP: improved response status code handling.
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.
Diffstat (limited to 'src/nxt_application.h')
0 files changed, 0 insertions, 0 deletions