Branch Coverage

lib/Test/Nginx/Util.pm
Criterion Covered Total %
branch 11 906 1.2


line true false branch
225 0 0 if $used_ports->{$port}
236 0 0 if (defined $sock)
242 0 0 if ($Verbose)
254 0 0 unless open my $fh, $filename
257 0 0 if ($line =~ /^ *\d+: [0-9A-F]+:([0-9A-F]+) /)
258 0 0 if ($port == hex $1)
273 0 0 unless open my $fh, $filename
276 0 0 if ($line =~ /^ *\d+: [0-9A-F]+:([0-9A-F]+) /)
277 0 0 if ($port == hex $1)
295 0 0 if (ref $expected and ref $expected eq "Regexp")
299 0 0 if ($NoLongString)
307 0 0 if (@_) { }
318 0 0 if (@_) { }
335 0 0 if (@_) { }
393 0 0 unless (@_)
397 0 0 if (not $v =~ /^[A-Za-z_]/ or $v =~ /\n/)
413 0 0 if (@_) { }
421 0 0 if (@_) { }
429 0 0 if (@_)
430 0 0 if ($CheckLeak or $Benchmark)
440 0 0 if (@_) { }
452 0 0 if (@_) { }
461 0 0 if (@_) { }
473 0 0 if ($CheckLeak)
484 0 0 if ($CheckLeak)
488 0 0 if (@_) { }
489 0 0 shift() ? :
620 0 0 if (defined $tm)
621 0 0 if ($tm =~ s/([^_a-zA-Z])ms$/$1/) { }
0 0 elsif ($tm =~ s/([^_a-zA-Z])s$/$1/) { }
657 0 0 if ($wait)
658 0 0 if (defined $pid)
659 0 0 if ($ENV{'TEST_NGINX_FAST_SHUTDOWN'}) { }
660 0 0 if ($Verbose)
667 0 0 if ($Verbose)
675 0 0 if ($Verbose)
686 0 0 if (&is_running($pid))
688 0 0 if (getpgrp $pid == $pid) { }
705 0 0 unless (&is_running($pid))
709 0 0 if ($Verbose)
713 0 0 if (kill(15, $pid) == 0)
718 0 0 if $step > "0.5"
728 0 0 if (getpgrp $pid == $pid) { }
738 0 0 if (&is_running($pid))
748 0 0 if ($Verbose)
758 0 5 if ($Verbose)
766 0 5 if (defined $UdpServerPid)
771 0 5 if (defined $TcpServerPid)
776 0 5 if (defined $ChildPid)
785 0 0 unless (open my $in, $AccLogFile)
786 0 0 if ($AccLogFile ne "off")
803 0 0 unless open my $in, $ErrLogFile
806 0 0 if (not $CheckAccumErrLog and $ErrLogFilePos > 0)
812 0 0 unless ($CheckAccumErrLog)
823 5 0 unless (defined $block)
830 0 0 if (defined $block->shutdown_error_log or defined $block->no_shutdown_error_log)
833 0 0 if ($UseHup)
837 0 0 if ($ENV{'TEST_NGINX_NO_CLEAN'})
848 0 0 if (defined $NginxVersion)
854 0 0 unless (defined $ENV{'TEST_NGINX_SERVER_PORT'})
858 0 0 $NoShuffle ? :
876 0 0 if (-d $ServRoot)
882 0 0 if ($UseHup) { }
884 0 0 if (not -d $_)
885 0 0 if ($_ =~ /(?:\bnginx\.pid|\.sock|\.crt|\.key)$/)
886 0 0 unless $first_time
890 0 0 unless system("rm $_") == 0
897 0 0 unless rmdir $ServRoot
901 0 0 unless (-d $ServRoot)
902 0 0 unless mkdir $ServRoot
905 0 0 unless (-d $LogDir)
906 0 0 unless mkdir $LogDir
909 0 0 unless (-d $HtmlDir)
910 0 0 unless mkdir $HtmlDir
916 0 0 unless open my $out, ">$index_file"
923 0 0 unless mkdir $ConfDir
931 0 0 if ($block->post_setup_server_root)
933 0 0 if ($@)
945 0 0 if ($files)
946 0 0 if (not ref $files) { }
0 0 elsif (ref $files ne 'ARRAY') { }
954 0 0 if (/>>> (\S+)(?:\s+(.+))?/) { }
955 0 0 if ($fname)
967 0 0 if ($fname)
980 0 0 unless (defined $body)
985 0 0 if (not $fname =~ m[^/]) { }
992 0 0 if ($path =~ m[(.*)/])
994 0 0 unless (-d $dir)
995 0 0 unless make_path($dir)
1001 0 0 unless open my $out, ">$path"
1008 0 0 if ($date)
1010 0 0 unless system($cmd) == 0
1027 0 0 if ($UseHup) { }
0 0 elsif ($UseValgrind) { }
0 0 elsif ($UseStap and defined $block->stap) { }
1039 0 0 unless (defined $config)
1043 0 0 unless (defined $http_config)
1047 0 0 if ($FilterHttpConfig)
1051 0 0 if ($http_config =~ /\bpostpone_output\b/)
1057 0 0 if (defined $PostponeOutput)
1058 0 0 unless ($PostponeOutput =~ /^\d+$/)
1064 0 0 unless (defined $main_config)
1068 0 0 if ($LoadModules)
1070 0 0 if (@modules)
1077 0 0 unless (defined $post_main_config)
1083 0 0 if ($CheckLeak or $Benchmark)
1088 0 0 unless ($err_log_file)
1094 0 0 unless (defined $server_name)
1101 0 0 unless open my $out, ">$ConfFile"
1119 0 0 if ($v =~ /\s/)
1131 0 0 if (&use_http3($block)) { }
0 0 elsif (&use_http2($block)) { }
1132 0 0 if ($UseHttp3 and not defined $block->http3)
1135 0 0 if (defined $Http3SSLCrt)
1139 0 0 if (defined $Http3SSLCrtKey)
1145 0 0 if ($NginxVersion >= '1.019009') { }
1152 0 0 if ($ReusePort)
1157 0 0 if (&use_http3($block))
1159 0 0 if ($block->quic_max_idle_timeout)
1163 0 0 if ($UseValgrind)
1177 0 0 if ($nginx_V =~ /--without-http_fastcgi_module/)
1181 0 0 if ($nginx_V =~ /--without-http_scgi_module/)
1185 0 0 if ($nginx_V =~ /--without-http_uwsgi_module/)
1189 0 0 if ($http_config =~ /\bproxy_temp_path\b/)
1193 0 0 if ($http_config =~ /\bclient_body_temp_path\b/)
1216 0 0 if (&use_http3($block)) { }
1218 0 0 unless ($h3_listen_opts =~ /\breuseport\b/)
1247 0 0 unless ($NoRootLocation)
1258 0 0 if ($UseHup)
1286 0 0 if (defined $block->no_mockeagain) { }
1287 0 0 if (defined $ld_preload)
1296 0 0 if ($EventType)
1310 0 0 if (defined $WorkerUser) { }
0 0 elsif ($> == 0) { }
1325 0 0 if (defined $_[3])
1334 0 0 if (not defined $out or $? != 0)
1339 0 0 if ($out =~ /built with OpenSSL (\d+)\.(\d+)\.(\d+)([a-z])?/s)
1343 0 0 if ($out =~ m[(?:nginx|openresty+?)[^/]*/(\d+)\.(\d+)\.(\d+)]s)
1348 0 0 if ($out =~ m[\w+/(\d+)\.(\d+)\.(\d+)]s)
1358 0 0 if (not defined $out or $? != 0)
1365 0 0 if ($out =~ m[nginx version: .*/(\d)\.(\d+)(?:\.\d+)+])
1369 0 0 if ($out =~ /--without-pcre2/)
1373 0 0 if ($ver >= 125 and $without_pcre2 == 0) { }
0 0 elsif ($out =~ /pcre/) { }
1387 0 0 unless open my $in, $PidFile
1398 0 7 unless defined $s
1426 0 0 if (&use_http2($block))
1437 0 0 if ($Verbose)
1441 0 0 if ($ver eq $ConfigVersion) { }
1444 0 0 if ($nsucc == 5)
1448 0 0 if ($nsucc >= 20)
1457 0 0 if ($nsucc)
1458 0 0 if ($Verbose)
1467 0 0 if ($wait > 1)
1471 0 0 if ($wait > "0.5")
1493 0 0 if ($neg) { }
1507 0 11 unless (defined $text)
1519 0 0 if ($1 =~ /^(TEST_NGINX_RAND_PORT_[0-9]+)$/) { }
1520 0 0 if (not defined $rand_ports->{$1}) { }
1523 0 0 unless (defined $rand_port)
1535 0 0 unless (defined $ENV{$1})
1547 0 0 unless open my $in, $ErrLogFile
1552 0 0 if (/\[emerg\] \S+?: unknown directive "([^"]+)"/)
1570 0 0 if (defined $tcp_socket)
1572 0 0 if ($tcp_query_file)
1573 0 0 if (open my $in, $tcp_query_file)
1579 0 0 if (defined $block->tcp_query)
1583 0 0 if (defined $block->tcp_query_len)
1594 0 0 if (defined $udp_socket)
1596 0 0 if ($udp_query_file)
1597 0 0 if (not open(my $in, $udp_query_file)) { }
1606 0 0 if (defined $block->udp_query)
1615 0 0 if defined $block->SKIP
1620 0 0 if ($FirstTime)
1626 0 0 if (defined $ENV{'ASAN_OPTIONS'})
1627 0 0 unless (defined $ENV{'ORI_ASAN_OPTIONS'})
1632 0 0 if ($tag =~ m[t/([-_a-z0-9A-Z/]+)\.t TEST (\d+):]) { }
1635 0 0 if ($asan_opts =~ /log_path=([^,]+)/)
1661 0 0 if ($block->log_level)
1671 0 0 if (defined $block->must_die)
1673 0 0 if (defined $block->stap)
1677 0 0 if ($UseStap)
1681 0 0 if ($UseValgrind)
1685 0 0 if ($UseHup)
1689 0 0 if ($Profiling)
1694 0 0 if (not defined $config) { }
0 0 elsif ($NoNginxManager) { }
1695 0 0 unless ($NoNginxManager)
1697 0 0 unless (defined $PrevConfig)
1719 0 0 if (not defined $PrevConfig or $config ne $PrevConfig) { }
1724 0 0 if ($should_reconfig or $ForceRestartOnTest) { }
1740 0 0 if (defined $block->reload_fails or defined $block->http2)
1744 0 0 if ($CheckLeak || $Benchmark and defined $block->no_check_leak)
1748 0 0 if (defined $skip_eval)
1749 0 0 if ($skip_eval =~ / ^ \s* (\d+) \s* : \s* (.*) /sx)
1757 0 0 if ($@)
1764 0 0 if (defined $skip_nginx) { }
0 0 elsif (defined $skip_nginx2) { }
0 0 elsif (defined $skip_slave and defined $BuildSlaveName) { }
1765 0 0 if ($skip_nginx =~ / ^ \s* (\d+) \s* : \s* ([<>]=?) \s* (\d+)\.(\d+)\.(\d+) (?: \s* : \s* (.*) )? \s*$/x) { }
1773 0 0 unless ($skip_reason)
1778 0 0 if (not defined $NginxVersion and $op =~ /^
1789 0 0 if ($skip_nginx2 =~ / ^ \s* (\d+) \s* : \s* ([<>]=?) \s* (\d+)\.(\d+)\.(\d+) \s* (or|and) \s* ([<>]=?) \s* (\d+)\.(\d+)\.(\d+) (?: \s* : \s* (.*) )? \s*$/x) { }
1804 0 0 if (not defined $NginxVersion or $opx eq "or" and eval "$NginxVersion $opa $vera" || eval "$NginxVersion $opb $verb" or $opx eq "and" and (eval "$NginxVersion $opa $vera" and eval "$NginxVersion $opb $verb"))
1818 0 0 if ($skip_slave =~ / ^ \s* (\d+) \s* : \s* (\w+) \s* (?: (\w+) \s* )? (?: (\w+) \s* )? (?: \s* : \s* (.*) )? \s*$/x) { }
1826 0 0 if (defined $slave1 and $slave1 eq "all" or defined $slave1 and $slave1 eq $BuildSlaveName or defined $slave2 and $slave2 eq $BuildSlaveName or defined $slave3 and $slave3 eq $BuildSlaveName)
1841 0 0 if (defined $skip_openssl)
1842 0 0 if ($skip_openssl =~ / ^ \s* (\d+) \s* : \s* ([<>]=?) \s* (\d+)\.(\d+)\.(\d+)([a-z])? (?: \s* : \s* (.*) )? \s*$/x) { }
1850 0 0 unless ($skip_reason)
1851 0 0 if (not defined $OpenSSLVersion) { }
0 0 elsif (defined $ver4) { }
1863 0 0 if (not defined $OpenSSLVersion or eval "$OpenSSLVersion $op $ver")
1874 0 0 unless (defined $skip_reason)
1880 0 0 if (defined $todo_nginx)
1881 0 0 if ($todo_nginx =~ / ^ \s* ([<>]=?) \s* (\d+)\.(\d+)\.(\d+) (?: \s* : \s* (.*) )? \s*$/x) { }
1889 0 0 if (not defined $NginxVersion and $op =~ /^
1902 0 0 if (defined $todo)
1903 0 0 if ($todo =~ / ^ \s* (\d+) \s* : \s* (.*) /sx) { }
1917 0 0 unless (defined $todo_reason)
1923 0 0 if (not $NoNginxManager || $should_skip and $should_restart)
1926 0 0 if ($UseHup)
1930 0 0 if ($should_reconfig)
1938 0 0 if (-f $PidFile) { }
1944 0 0 if (not defined $pid or $pid eq "")
1952 0 0 if (&is_running($pid)) { }
1955 0 0 if ($UseHup)
1956 0 0 if ($first_time)
1968 0 0 if ($Verbose)
1971 0 0 if (system("kill -USR1 $pid") == 0) { }
1974 0 0 if ($Verbose)
1978 0 0 if (system("kill -HUP $pid") == 0) { }
1983 0 0 if (&use_http3($block))
1985 0 0 if ($block->quic_max_idle_timeout)
1989 0 0 if ($UseValgrind)
1997 0 0 if ($shutting eq "")
2004 0 0 if ($remain <= 0)
2009 0 0 if ($Verbose)
2015 0 0 if ($UseValgrind)
2019 0 0 if (defined $block->reload_fails) { }
2031 0 0 if ($Verbose)
2046 0 0 if (-f $PidFile)
2047 0 0 unless unlink $PidFile
2062 0 0 unless ($nginx_is_running)
2063 0 0 if ($Verbose)
2075 0 0 unless (can_run($NginxBinary))
2083 0 0 unless (defined $NginxVersion)
2089 0 0 if ($NginxVersion >= 0.007053) { }
2096 0 0 if (defined $ENV{'TEST_NGINX_LD_PRELOAD'})
2097 0 0 if (defined $LD_PRELOAD) { }
2107 0 0 if (defined $mockeagain and $mockeagain ne "" and defined $LD_PRELOAD and $LD_PRELOAD =~ /mockeagain.so/)
2113 0 0 if (not defined $t or $t ne "poll")
2118 0 0 if (defined $block->suppress_stderr)
2122 0 0 if ($UseRr)
2126 0 0 if ($UseValgrind) { }
0 0 elsif ($UseStap) { }
2129 0 0 if ($UseValgrind =~ /^\d+$/) { }
2131 0 0 if ($ValgrindExitOnFirstErr)
2133 0 0 if ($help_out =~ /exit-on-first-error/) { }
2142 0 0 if (-f 'valgrind.suppress') { }
2160 0 0 if ($StapOutFileHandle)
2165 0 0 if ($block->stap)
2172 0 0 if ($stap =~ /\$LIB([_A-Z0-9]+)_PATH\b/)
2180 0 0 if ($line =~ m[\S+/$libname.*?\.so(?:\.\d+)*]) { }
2200 0 0 unless (defined $block->stap_out or defined $block->stap_out_like or defined $block->stap_out_unlike)
2207 0 0 if (not $StapOutFile) { }
2220 0 0 unless open $out, $outfile
2226 0 0 if (defined $ENV{'LD_PRELOAD'})
2230 0 0 if (defined $ENV{'LD_LIBRARY_PATH'})
2242 0 0 if ($Profiling or $UseValgrind or $UseStap) { }
2245 0 0 if (not defined $pid) { }
0 0 elsif ($pid == 0) { }
2258 0 0 if ($Verbose)
2284 0 0 if ($status == -1) { }
2290 0 0 if ($? > 32768) { }
2299 0 0 if (defined $must_die)
2301 0 0 if ($exec_failed) { }
0 0 elsif ($coredump) { }
0 0 elsif (&looks_like_number($must_die)) { }
2318 0 0 if ($status == 0)
2323 0 0 if (-f $PidFile)
2332 0 0 if ++$i < $RepeatEach
2336 0 0 if ($status != 0)
2337 0 0 if ($ENV{'TEST_NGINX_IGNORE_MISSING_DIRECTIVES'} and my $directive = &check_if_missing_directives()) { }
2345 0 0 if ($delay > 1)
2350 0 0 if $waited < 30
2362 0 0 if ($Verbose)
2366 0 0 if ($block->init)
2368 0 0 if ($@)
2378 0 0 if ($Verbose)
2382 0 0 if ($CheckLeak || $Benchmark and defined $block->tcp_listen)
2384 0 0 defined $block->tcp_query_len ? :
2385 0 0 defined $block->tcp_query ? :
2387 0 0 if ($n)
2396 0 0 if (not $CheckLeak || $Benchmark and defined $block->tcp_listen)
2403 0 0 unless (defined $reply or defined $block->tcp_shutdown)
2409 0 0 if (defined $block->tcp_query or defined $req_len)
2410 0 0 unless (defined $req_len)
2420 0 0 if ($target =~ /^\d+$/) { }
0 0 elsif ($target =~ /\S+\.sock$/) { }
2430 0 0 if (-e $target)
2431 0 0 unless unlink $target
2444 0 0 if ($tcp_socket)
2448 0 0 if ($!)
2450 0 0 if ($err =~ /address already in use/i)
2452 0 0 if ($i >= 20)
2454 0 0 if ($pids)
2458 0 0 if ($pid == $$)
2476 0 0 if (not $tcp_socket and $err)
2482 0 0 if (not defined $pid) { }
0 0 elsif ($pid == 0) { }
2495 0 0 if ($Verbose)
2505 0 0 if $client
2511 0 0 if (defined $block->tcp_shutdown)
2513 0 0 if ($block->tcp_shutdown_delay)
2517 0 0 if ($shutdown == 0 or $shutdown == 2) { }
2518 0 0 if ($Verbose)
2524 0 0 if ($Verbose)
2533 0 0 unless ($no_read)
2534 0 0 if ($Verbose)
2540 0 0 if (defined $block->tcp_query_auto_timeout)
2542 0 0 if ($block->tcp_query_auto_timeout ne "")
2549 0 0 if (defined $block->tcp_query_auto_timeout)
2550 0 0 unless ($select->can_read($timeout))
2551 0 0 if ($Verbose)
2559 0 0 unless (defined $ret)
2563 0 0 if ($Verbose)
2572 0 0 if ($tcp_query_file)
2574 0 0 unless open my $out, ">$tmpfile"
2577 0 0 if ($Verbose)
2584 0 0 unless rename $tmpfile, $tcp_query_file
2588 0 0 if (not defined $block->tcp_query_auto_timeout and !$req_len || length $buf >= $req_len)
2589 0 0 if ($Verbose)
2597 0 0 unless ($tcp_query_file)
2598 0 0 if ($Verbose)
2605 0 0 if ($delay)
2606 0 0 if ($Verbose)
2612 0 0 unless ($no_write)
2613 0 0 if (defined $reply)
2614 0 0 if ($Verbose)
2619 0 0 if ($ref and $ref eq "CODE")
2624 0 0 if (ref $reply) { }
2625 0 0 if ($ref ne "ARRAY")
2630 0 0 if ($Verbose)
2634 0 0 unless (defined $bytes)
2641 0 0 unless (defined $bytes)
2648 0 0 if ($Verbose)
2652 0 0 if (defined $block->tcp_no_close)
2665 0 0 if ($Verbose)
2673 0 0 if ($CheckLeak || $Benchmark and defined $block->udp_listen)
2675 0 0 defined $block->udp_query ? :
2677 0 0 if ($n)
2686 0 0 if (not $CheckLeak || $Benchmark and defined $block->udp_listen)
2688 0 0 unless (defined $reply)
2692 0 0 if (defined $block->udp_query)
2700 0 0 if ($target =~ /^\d+$/) { }
0 0 elsif ($target =~ /\S+\.sock$/) { }
2703 0 0 unless $udp_socket = "IO::Socket::INET"->new("LocalPort", $port, "Proto", "udp", "Reuse", 1, "Timeout", &timeout())
2711 0 0 if (-e $target)
2712 0 0 unless unlink $target
2715 0 0 unless $udp_socket = "IO::Socket::UNIX"->new("Local", $target, "Type", 2, "Reuse", 1, "Timeout", &timeout())
2732 0 0 if (not defined $pid) { }
0 0 elsif ($pid == 0) { }
2745 0 0 if ($Verbose)
2751 0 0 if ($Verbose)
2758 0 0 unless (defined $sender)
2762 0 0 if ($Verbose)
2766 0 0 if ($udp_query_file)
2768 0 0 unless open my $out, ">$tmpfile"
2771 0 0 if ($Verbose)
2778 0 0 unless rename $tmpfile, $udp_query_file
2783 0 0 if ($delay)
2784 0 0 if ($Verbose)
2790 0 0 if (defined $reply)
2792 0 0 if ($ref and $ref eq "CODE")
2797 0 0 if ($ref) { }
2798 0 0 if ($ref ne "ARRAY")
2805 0 0 unless (defined $bytes)
2811 0 0 if ($reply =~ /syntax error at \(eval \d+\) line \d+, near/)
2816 0 0 unless (defined $bytes)
2822 0 0 if ($Verbose)
2830 0 0 if ($Verbose)
2838 0 0 if ($i > 1)
2842 0 0 if ($should_skip and defined $tests_to_skip) { }
0 0 elsif ($should_todo) { }
2866 0 0 if (defined $udp_socket)
2867 0 0 if (defined $UdpServerPid)
2876 0 0 if (defined $uds_socket_file)
2877 0 0 unless unlink $uds_socket_file
2881 0 0 if (defined $tcp_socket)
2882 0 0 if (defined $TcpServerPid)
2883 0 0 if ($Verbose)
2890 0 0 if ($Verbose)
2899 0 0 if ($StapOutFileHandle)
2904 0 0 if (my $total_errlog = $ENV{'TEST_NGINX_ERROR_LOG'})
2906 0 0 if (-s $errlog)
2907 0 0 unless open my $out, ">>$total_errlog"
2911 0 0 unless system("cat $errlog >> $total_errlog") == 0
2916 0 0 if ($Profiling || $UseValgrind || $UseStap and not $UseHup)
2918 0 0 if (-f $PidFile) { }
2923 0 0 if (&is_running($pid)) { }
2926 0 0 if ($Verbose)
2930 0 0 if (kill(3, $pid) == 0)
2936 0 0 if (-f $PidFile) { }
2937 0 0 if ($i++ < 20)
2938 0 0 if ($Verbose)
2945 0 0 if ($Verbose)
2953 0 0 if (not unlink($PidFile) and -f $PidFile)
2967 0 0 if (&is_running($pid))
2975 0 0 if (not unlink($PidFile) and -f $PidFile)
2986 0 5 if $InSubprocess
2990 5 0 if ($UseStap or $UseValgrind or not $ENV{'TEST_NGINX_NO_CLEAN'})
2992 0 5 if (defined $PidFile and -f $PidFile)
2994 0 0 unless ($pid)
2997 0 0 if (&is_running($pid)) { }
3008 0 5 if ($Randomize)
3009 0 0 if (defined $ServRoot and -d $ServRoot and $ServRoot =~ m[/t/servroot_\d+])
3020 0 0 if ($cmd =~ m([/\\]))
3021 0 0 if (-f $cmd and -x $cmd)
3029 0 0 if $dir eq ""
3032 0 0 if -f $abs and -x $abs
3042 0 0 if (defined $cached)
3046 0 0 if (defined $block->no_http2)
3050 0 0 if (defined $block->http2)
3051 0 0 if ($block->raw_request)
3055 0 0 if ($block->pipelined_requests)
3061 0 0 unless ($LoadedIPCRun)
3068 0 0 if ($UseHttp2)
3069 0 0 if ($block->raw_request)
3075 0 0 if ($block->pipelined_requests)
3081 0 0 unless (defined $block->request)
3086 0 0 if (not ref $block->request and $block->request =~ m[HTTP/1\.0]s)
3092 0 0 if (defined $block->http3)
3103 0 0 if (defined $block->config)
3104 0 0 if ($block->config =~ /$pat/)
3111 0 0 if (defined $block->user_files)
3112 0 0 if ($block->user_files =~ /$pat/)
3119 0 0 if (defined $block->http_config)
3120 0 0 if ($block->http_config =~ /$pat/)
3129 0 0 unless ($LoadedIPCRun)
3146 0 0 if (defined $cached)
3150 0 0 if (defined $block->no_http3)
3154 0 0 if (defined $block->http3)
3155 0 0 if ($block->raw_request)
3159 0 0 if ($block->pipelined_requests)
3163 0 0 if (defined $block->http2)
3169 0 0 unless ($LoadedIPCRun)
3177 0 0 if ($UseHttp3)
3178 0 0 if ($block->raw_request)
3184 0 0 if ($block->pipelined_requests)
3190 0 0 unless (defined $block->request)
3195 0 0 if (not ref $block->request and $block->request =~ m[HTTP/1\.0]s)
3201 0 0 if (defined $block->http2)
3209 0 0 unless ($LoadedIPCRun)