Mercurial > hg > nginx-tests
diff fastcgi_merge_params2.t @ 1791:42d9fd20eeb6
Tests: avoid uninitialized warnings in fastcgi tests.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 19 Sep 2022 14:13:22 +0400 |
parents | 196d33c2bb45 |
children |
line wrap: on
line diff
--- a/fastcgi_merge_params2.t +++ b/fastcgi_merge_params2.t @@ -104,9 +104,9 @@ sub fastcgi_daemon { while( $request->Accept() >= 0 ) { $count++; - my $ims = $ENV{HTTP_IF_MODIFIED_SINCE}; - my $iums = $ENV{HTTP_IF_UNMODIFIED_SINCE}; - my $blah = $ENV{HTTP_X_BLAH}; + my $ims = $ENV{HTTP_IF_MODIFIED_SINCE} || ''; + my $iums = $ENV{HTTP_IF_UNMODIFIED_SINCE} || ''; + my $blah = $ENV{HTTP_X_BLAH} || ''; print <<EOF; Location: http://localhost/redirect