summaryrefslogtreecommitdiff
path: root/tests/mod-fastcgi.t
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-08-21 00:22:38 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-02-24 11:15:32 -0500
commitfa4ab192754a7b68a4fe4f679a313faa3fecfa86 (patch)
tree3a3409198551e17b9c0b632e6fff7354ba8ce86f /tests/mod-fastcgi.t
parentcdf653f8cebc67a4249f74618f9e2fbe2a788eae (diff)
downloadlighttpd-git-fa4ab192754a7b68a4fe4f679a313faa3fecfa86.tar.gz
[core] reduce use of struct parse_header_state
Diffstat (limited to 'tests/mod-fastcgi.t')
-rwxr-xr-xtests/mod-fastcgi.t18
1 files changed, 1 insertions, 17 deletions
diff --git a/tests/mod-fastcgi.t b/tests/mod-fastcgi.t
index 7a00963c..4ae50d1f 100755
--- a/tests/mod-fastcgi.t
+++ b/tests/mod-fastcgi.t
@@ -7,7 +7,7 @@ BEGIN {
}
use strict;
-use Test::More tests => 46;
+use Test::More tests => 44;
use LightyTest;
my $tf = LightyTest->new();
@@ -194,22 +194,6 @@ EOF
ok($tf->handle_http($t) == 0, '$_SERVER["AUTH_TYPE"]');
$t->{REQUEST} = ( <<EOF
-GET /get-server-env.php?env=SERVER_NAME HTTP/1.0
-Host: zzz.example.org
-EOF
- );
- $t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => 'zzz.example.org' } ];
- ok($tf->handle_http($t) == 0, 'FastCGI + Host');
-
- $t->{REQUEST} = ( <<EOF
-GET http://zzz.example.org/get-server-env.php?env=SERVER_NAME HTTP/1.0
-Host: aaa.example.org
-EOF
- );
- $t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => 'zzz.example.org' } ];
- ok($tf->handle_http($t) == 0, 'SERVER_NAME (absolute url in request line)');
-
- $t->{REQUEST} = ( <<EOF
GET /indexfile/ HTTP/1.0
Host: www.example.org
EOF