From fa4ab192754a7b68a4fe4f679a313faa3fecfa86 Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Wed, 21 Aug 2019 00:22:38 -0400 Subject: [core] reduce use of struct parse_header_state --- tests/mod-fastcgi.t | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'tests/mod-fastcgi.t') 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(); @@ -193,22 +193,6 @@ EOF $t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => 'Basic' } ]; ok($tf->handle_http($t) == 0, '$_SERVER["AUTH_TYPE"]'); - $t->{REQUEST} = ( <{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => 'zzz.example.org' } ]; - ok($tf->handle_http($t) == 0, 'FastCGI + Host'); - - $t->{REQUEST} = ( <{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} = ( <