Browse Source

wait the fastcgi process to be up

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@671 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.3
Xuefer 17 years ago
parent
commit
7c4bd1e8bb
  1. 2
      tests/mod-fastcgi.t

2
tests/mod-fastcgi.t

@ -286,6 +286,7 @@ EOF
$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => 'test123' } ];
ok($tf->handle_http($t) == 0, 'killing fastcgi and wait for restart');
select(undef, undef, undef, 2);
$t->{REQUEST} = ( <<EOF
GET /index.fcgi?die-at-end HTTP/1.0
Host: www.example.org
@ -295,6 +296,7 @@ EOF
ok($tf->handle_http($t) == 0, 'killing fastcgi and wait for restart');
select(undef, undef, undef, 2);
$t->{REQUEST} = ( <<EOF
GET /index.fcgi?crlf HTTP/1.0
Host: www.example.org

Loading…
Cancel
Save