summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2017-03-18 00:10:48 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2017-03-19 23:48:50 -0400
commit0a635fc8bef0d74bc661737afda0398d06d57a4e (patch)
treeb57a7789035b2e1242278409f56bbc7f3816da18 /tests
parent76ad82434fea78d319f5871400d3a9e52cafcf95 (diff)
downloadlighttpd1.4-0a635fc8bef0d74bc661737afda0398d06d57a4e.tar.gz
lighttpd1.4-0a635fc8bef0d74bc661737afda0398d06d57a4e.zip
[core] consolidate dynamic handler response parse
- consolidate dynamic handler HTTP response parsing code - reduce string copies for CGI, FastCGI, SCGI, proxy response headers - let read() signal EOF or EAGAIN instead of ioctl FIONREAD 0-data-ready
Diffstat (limited to 'tests')
-rwxr-xr-xtests/mod-cgi.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mod-cgi.t b/tests/mod-cgi.t
index f964313c..b3e306ca 100755
--- a/tests/mod-cgi.t
+++ b/tests/mod-cgi.t
@@ -50,7 +50,7 @@ $t->{REQUEST} = ( <<EOF
GET /nph-status.pl?30 HTTP/1.0
EOF
);
-$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200 } ];
+$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 502 } ];
ok($tf->handle_http($t) == 0, 'NPH + perl, invalid status-code (#14)');
$t->{REQUEST} = ( <<EOF