line |
true |
false |
branch |
11
|
8 |
968 |
if uc $self->req->method eq "HEAD" |
12
|
39 |
937 |
unless $res->parse($chunk)->is_finished |
15
|
935 |
2 |
if not $res->is_info or $res->headers->upgrade |
17
|
0 |
2 |
unless length(my $leftovers = $res->content->leftovers) |
33
|
45 |
1796 |
if $req_conn eq "close" or $res_conn eq "close" |
36
|
9 |
1787 |
if $res->version eq "1.0" |
37
|
3 |
1784 |
if $req->version eq "1.0" |
50
|
1084 |
0 |
if ++$_[0]{'writing'} |
57
|
1026 |
0 |
unless $req->error |
60
|
948 |
78 |
if $req->is_finished and not $self->{'handled'}++ |
70
|
2843 |
11 |
defined $buffer ? : |
73
|
11 |
2843 |
unless defined $buffer |
76
|
857 |
948 |
$finish ? : |
|
1805 |
1049 |
if defined $buffer and not length $buffer |
86
|
1892 |
0 |
defined $buffer ? : |
91
|
1892 |
0 |
if ($self->{'write'} <= 0) |
95
|
91 |
1801 |
if $head and $self->is_empty |
106
|
1892 |
0 |
defined $buffer ? : |
111
|
1892 |
0 |
if $self->{'write'} <= 0 |
120
|
1861 |
2013 |
$server ? : |
|
928 |
2946 |
unless $server ? $self->{'writing'} : ($self->{'writing'} //= 1) |
124
|
1814 |
1132 |
$server ? : |
125
|
1892 |
1054 |
unless $self->{'http_state'} |
129
|
1892 |
1054 |
if $self->{'http_state'} eq "start_line" |
132
|
1892 |
1054 |
if $self->{'http_state'} eq "headers" |
135
|
2854 |
92 |
if $self->{'http_state'} eq "body" |