line |
true |
false |
branch |
17
|
113 |
2 |
if $self->{'reuse'} |
18
|
114 |
1 |
if $self->{'handle'} and $self->reactor |
28
|
143 |
4 |
ref $_[0] ? : |
36
|
0 |
147 |
$path && $ENV{'MOJO_REUSE'} =~ /(?:^|\,)unix:\Q$path\E:(\d+)/u || $port && $ENV{'MOJO_REUSE'} =~ /(?:^|\,)\Q$address:$port\E:(\d+)/u ? : |
43
|
0 |
147 |
$path ? : |
44
|
1 |
146 |
if (defined($fd //= $args->{'fd'})) { } |
45
|
0 |
1 |
unless $handle = $class->new_from_fd($fd, "r") |
53
|
0 |
146 |
if ($path) { } |
54
|
0 |
0 |
if -S $path |
56
|
0 |
0 |
unless $handle = $class->new(%options) |
64
|
0 |
146 |
if $port |
67
|
0 |
146 |
unless $handle = $class->new(%options) |
72
|
97 |
49 |
length $ENV{'MOJO_REUSE'} ? : |
77
|
1 |
37 |
if not "Mojo::IOLoop::TLS"->can_tls and $args->{'tls'} |
85
|
391 |
0 |
if ++$self->{'active'} |
88
|
358 |
90 |
if delete $_[0]{'active'} |
97
|
189 |
194 |
unless my $handle = $self->{'handle'}->accept |
103
|
194 |
0 |
unless $args->{'tls'} |