line |
!l |
l&&!r |
l&&r |
condition |
101
|
70 |
10 |
3 |
exists $args{'keepalive'} && !$args{'keepalive'} |
135
|
0 |
0 |
83 |
$^O eq "linux" and not $self->{'use_unix_domain'} |
244
|
83 |
0 |
36 |
$stats eq $prev_stats and @_ |
313
|
0 |
0 |
0 |
$self->{'sockets'}{$key}[4] == 0 and $self->{'sockets'}{$key}[3] == 0 |
|
0 |
0 |
0 |
$self->{'sockets'}{$key}[4] == 0 and $self->{'sockets'}{$key}[3] == 0 and $time - $self->{'sockets'}{$key}[2] > $self->{'timeout'} |
|
0 |
0 |
0 |
$self->{'sockets'}{$key}[4] == 0 and $self->{'sockets'}{$key}[3] > 0 |
|
0 |
0 |
0 |
$self->{'sockets'}{$key}[4] == 0 and $self->{'sockets'}{$key}[3] > 0 and $time - $self->{'sockets'}{$key}[2] > $self->{'keepalive_timeout'} |
347
|
260622 |
0 |
0 |
not defined $ret and $! == 4 || $! == 11 || $! == 11 |
354
|
0 |
0 |
260622 |
defined $buf and length $buf == 0 |
388
|
0 |
0 |
0 |
$fd < 0 and $! == 4 || $! == 11 || $! == 11 |
444
|
37 |
268 |
160 |
$self->{'workers'}{$wid}{'running'} and $self->{'workers'}{$wid}{'running'} == $exit_pid |
521
|
347 |
1 |
35 |
$self->{'term_received'} and not $next_conn |
523
|
274 |
74 |
0 |
$next_conn and $next_conn->{'buf'} |
539
|
212 |
0 |
74 |
$next_conn and fileno $next_conn->{'fh'} == $try_read_fd |
552
|
189 |
85 |
74 |
$conn and $next_conn |
|
274 |
74 |
0 |
$conn and $next_conn and $conn != $next_conn |
556
|
159 |
189 |
0 |
not $conn and $next_conn |
594
|
159 |
0 |
0 |
not defined $ret and $! == 11 || $! == 11 || $! == 4 |
|
0 |
95 |
64 |
defined $ret and $ret == 0 |
629
|
0 |
92 |
0 |
defined $pipelined_buf and length $pipelined_buf |
636
|
0 |
18 |
74 |
$conn->{'reqs'} < $max_readahead_reqs and $proc_req_count <= $max_reqs_per_child |
668
|
18 |
0 |
0 |
not defined $ret and $! != 11 |
|
18 |
0 |
0 |
not defined $ret and $! != 11 and $! != 11 |
|
0 |
0 |
0 |
not defined $ret and $! != 11 and $! != 11 and $! != 4 |
692
|
0 |
114 |
0 |
$! != 4 and $! != 11 |
|
114 |
0 |
0 |
$! != 4 and $! != 11 and $! != 11 |
|
114 |
0 |
0 |
$! != 4 and $! != 11 and $! != 11 and $! != 29 |
|
71 |
114 |
0 |
not $peer and ($! != 4 and $! != 11 and $! != 11 and $! != 29) |
720
|
0 |
7 |
0 |
$! != 4 and $! != 11 |
|
7 |
0 |
0 |
$! != 4 and $! != 11 and $! != 11 |
|
7 |
0 |
0 |
$! != 4 and $! != 11 and $! != 11 and $! != 29 |
|
14 |
7 |
0 |
$fd < 0 and ($! != 4 and $! != 11 and $! != 11 and $! != 29) |
793
|
1 |
35 |
57 |
$use_keepalive and $reqs <= 1 |
905
|
0 |
0 |
0 |
$$use_keepalive_r and lc $v ne "keep-alive" |
923
|
0 |
0 |
0 |
not Plack::Util::status_with_no_entity_body($status_code) and defined(my $cl = Plack::Util::content_length($body)) |
953
|
2 |
5 |
86 |
defined $body and ref $body eq "ARRAY" |
|
7 |
1 |
85 |
defined $body and ref $body eq "ARRAY" and @$body == 1 |
|
6 |
2 |
83 |
defined $body and ref $body eq "ARRAY" and @$body == 1 and length $body->[0] < 8192 |
968
|
10 |
0 |
0 |
$have_sendfile and not $use_chunked |
|
10 |
0 |
0 |
$have_sendfile and not $use_chunked and defined $body |
|
0 |
0 |
0 |
$have_sendfile and not $use_chunked and defined $body and ref $body ne "ARRAY" |
|
0 |
0 |
0 |
$have_sendfile and not $use_chunked and defined $body and ref $body ne "ARRAY" and fileno $body |
974
|
0 |
0 |
0 |
$^O eq "linux" and not $self->{'use_unix_domain'} |
982
|
0 |
0 |
0 |
$use_cork and $$use_keepalive_r |
|
0 |
0 |
0 |
$use_cork and $$use_keepalive_r and not $self->{'use_unix_domain'} |
1015
|
4 |
2 |
2 |
$use_chunked and not $completed |
1053
|
9 |
0 |
111 |
$is_write and $is_write == 1 |
|
9 |
0 |
0 |
$is_write and $is_write == 2 |
1059
|
0 |
0 |
0 |
defined $ret and $ret == 0 |
|
0 |
0 |
0 |
defined $ret and $ret == 0 and $! == 11 |
1064
|
2 |
2 |
0 |
not defined $ret and $! == 4 || $! == 11 || $! == 11 |
line |
l |
!l&&r |
!l&&!r |
condition |
101
|
0 |
83 |
0 |
$args{'max_keepalive_connection'} || int $open_max / 2 |
|
0 |
83 |
0 |
$args{'server_software'} || $class |
131
|
0 |
83 |
0 |
$self->{'listen_sock'} ||= "IO::Socket::INET"->new("Listen", 128, "LocalPort", $self->{'port'}, "LocalAddr", $self->{'host'}, "Proto", "tcp", "ReuseAddr", 1) |
220
|
0 |
0 |
0 |
$! == 11 or $! == 11 |
|
0 |
0 |
0 |
$! == 11 or $! == 11 or $! == 4 |
229
|
0 |
0 |
0 |
$self->{'fdsend_worker'} ||= &AE::io($self->{'fdpass_sock'}[0], 1, sub {
while (my $sockid = shift @{$$self{"fdsend_queue"};}) {
do {
unless (exists $self->{'sockets'}{$sockid}) {
next;
};
if (_getpeername($self->{'sockets'}{$sockid}[1], my $addr) < 0) {
delete $self->{'sockets'}{$sockid};
next;
};
my $ret = IO::FDPass::send(fileno $self->{'fdpass_sock'}[0], $self->{'sockets'}{$sockid}[1]);
unless ($ret) {
if ($! == 11 or $! == 11 or $! == 4) {
unshift @{$$self{"fdsend_queue"};}, $sockid;
return;
};
die "unable to pass queue: $!";
undef $self->{'fdsend_worker'};
}
};
};
undef $self->{'fdsend_worker'};
}
) |
347
|
0 |
0 |
0 |
$! == 4 || $! == 11 || $! == 11 |
388
|
0 |
0 |
0 |
$! == 4 || $! == 11 || $! == 11 |
519
|
74 |
69 |
263 |
$next_conn or $self->{'stop_accept'} |
|
69 |
240 |
23 |
$next_conn or $self->{'stop_accept'} or $proc_req_count < $max_reqs_per_child |
538
|
0 |
286 |
347 |
not defined $rfd or vec $rfd, $try_read_fd, 1 |
594
|
0 |
0 |
0 |
$! == 11 || $! == 11 || $! == 4 |
607
|
0 |
0 |
95 |
$self->{'term_received'} or $self->{'stop_accept'} |
923
|
0 |
0 |
0 |
defined $send_headers{'content-length'} or defined $send_headers{'transfer-encoding'} |
939
|
4 |
0 |
89 |
defined $send_headers{'content-length'} or defined $send_headers{'transfer-encoding'} |
971
|
0 |
0 |
0 |
$send_headers{'content-length'} || -s $body |
1048
|
111 |
5 |
2 |
$is_write or delete $self->{'_is_deferred_accept'} |
1064
|
2 |
0 |
0 |
$! == 4 || $! == 11 || $! == 11 |