| line |
true |
false |
branch |
|
30
|
0 |
0 |
if ($conn_cache) |
|
31
|
0 |
0 |
if (my $sock = $conn_cache->withdraw('http', "${host}:$port")) |
|
32
|
0 |
0 |
if $sock and not $sock->can_read(0) |
|
51
|
0 |
0 |
unless ($sock) |
|
76
|
0 |
0 |
unless ($method =~ /^[A-Za-z0-9_!\#\$%&\'*+\-.^\`|~]+$/) |
|
88
|
0 |
0 |
unless length $fullpath |
|
105
|
0 |
0 |
if ref $$content_ref |
|
109
|
0 |
0 |
if (ref $content_ref eq 'CODE') { } |
|
111
|
0 |
0 |
if $clen |
|
112
|
0 |
0 |
unless (defined $clen) |
|
121
|
0 |
0 |
if (defined $$content_ref and length $$content_ref) { } |
|
|
0 |
0 |
elsif ($clen) { } |
|
123
|
0 |
0 |
if (not defined $clen or $clen ne length $$content_ref) |
|
124
|
0 |
0 |
if (defined $clen) |
|
144
|
0 |
0 |
unless defined $n |
|
145
|
0 |
0 |
unless $n == length $req_buf |
|
151
|
0 |
0 |
if ($has_content) |
|
153
|
0 |
0 |
if ($request_headers->header('Expect') || '') =~ /100-continue/ |
|
159
|
0 |
0 |
if (ref $content_ref eq 'CODE') { } |
|
161
|
0 |
0 |
unless defined $buf |
|
162
|
0 |
0 |
if $chunked |
|
178
|
0 |
0 |
if ($write_wait) |
|
180
|
0 |
0 |
if $write_wait < $sel_timeout |
|
184
|
0 |
0 |
$write_wait ? : |
|
186
|
0 |
0 |
unless (defined $nfound) |
|
190
|
0 |
0 |
if ($write_wait) |
|
192
|
0 |
0 |
if $write_wait < 0 |
|
195
|
0 |
0 |
if (defined $rbits and $rbits =~ /[^\0]/) |
|
199
|
0 |
0 |
unless ($n) |
|
203
|
0 |
0 |
if ($buf =~ /\015?\012\015?\012/) |
|
208
|
0 |
0 |
if ($code eq '100') { } |
|
219
|
0 |
0 |
if (defined $wbits and $wbits =~ /[^\0]/) |
|
221
|
0 |
0 |
unless ($n) |
|
222
|
0 |
0 |
unless defined $n |
|
227
|
0 |
0 |
if (not $eof and $woffset >= length $$wbuf) |
|
230
|
0 |
0 |
unless defined $buf |
|
231
|
0 |
0 |
unless length $buf |
|
232
|
0 |
0 |
if $chunked |
|
240
|
0 |
0 |
unless $code |
|
242
|
0 |
0 |
if $code eq '100' |
|
252
|
0 |
0 |
if @junk |
|
257
|
0 |
0 |
if ($method eq 'CONNECT') |
|
262
|
0 |
0 |
if (my(@te) = $response->remove_header('Transfer-Encoding')) |
|
274
|
0 |
0 |
unless defined $n |
|
275
|
0 |
0 |
if $n == -1 |
|
277
|
0 |
0 |
unless $n |
|
280
|
0 |
0 |
unless $complete |
|
289
|
0 |
0 |
unless ($drop_connection) |
|
290
|
0 |
0 |
if (my $conn_cache = $$self{'ua'}{'conn_cache'}) |
|
293
|
0 |
0 |
if ($peer_http_version eq '1.1' and not $connection{'close'} or $connection{'keep-alive'}) |
|
320
|
0 |
0 |
unless ((my $rc = $sc->connect($host, $port)) == SOCKS_OKAY()) |