| line |
true |
false |
branch |
|
27
|
0 |
0 |
unless defined $LWPx::Protocol::http_paranoid::TOO_LATE |
|
29
|
0 |
0 |
if $LWPx::Protocol::http_paranoid::TIME_REMAIN < 0 |
|
43
|
0 |
1 |
if ($conn_cache) |
|
44
|
0 |
0 |
if (my $sock = $conn_cache->withdraw('http', "${host}:$port")) |
|
45
|
0 |
0 |
if $sock and not $sock->can_read(0) |
|
54
|
0 |
0 |
unless (@addrs) |
|
64
|
0 |
0 |
$$request{'_timebegin'} ? : |
|
77
|
0 |
0 |
unless ($sock) |
|
100
|
0 |
0 |
if (defined(my $peerhost = $sock->peerhost)) |
|
111
|
0 |
0 |
if ($hhost =~ s/^([^\@]*)\@//) |
|
115
|
0 |
0 |
if (defined $1 and not $h->header('Authorization')) |
|
129
|
0 |
0 |
unless lc $$hlist[$i] eq $k |
|
143
|
1 |
0 |
if ($timeout) |
|
152
|
0 |
1 |
unless ($method =~ /^[A-Za-z0-9_!\#\$%&\'*+\-.^\`|~]+$/) |
|
164
|
0 |
1 |
unless $fullpath =~ m[^/] |
|
181
|
0 |
0 |
if ref $$content_ref |
|
185
|
0 |
0 |
if (ref $content_ref eq 'CODE') { } |
|
187
|
0 |
0 |
if $clen |
|
188
|
0 |
0 |
unless (defined $clen) |
|
197
|
0 |
0 |
if (defined $$content_ref and length $$content_ref) { } |
|
|
0 |
0 |
elsif ($clen) { } |
|
199
|
0 |
0 |
if (not defined $clen or $clen ne length $$content_ref) |
|
200
|
0 |
0 |
if (defined $clen) |
|
220
|
0 |
0 |
unless defined $n |
|
221
|
0 |
0 |
unless $n == length $req_buf |
|
228
|
0 |
0 |
if ($has_content) |
|
230
|
0 |
0 |
if ($request_headers->header('Expect') || '') =~ /100-continue/ |
|
236
|
0 |
0 |
if (ref $content_ref eq 'CODE') { } |
|
238
|
0 |
0 |
unless defined $buf |
|
239
|
0 |
0 |
if $chunked |
|
256
|
0 |
0 |
if ($now > $LWPx::Protocol::http_paranoid::TOO_LATE) |
|
261
|
0 |
0 |
if ($write_wait) |
|
263
|
0 |
0 |
if $write_wait < $sel_timeout |
|
267
|
0 |
0 |
$write_wait ? : |
|
269
|
0 |
0 |
unless (defined $nfound) |
|
273
|
0 |
0 |
if ($write_wait) |
|
275
|
0 |
0 |
if $write_wait < 0 |
|
278
|
0 |
0 |
if (defined $rbits and $rbits =~ /[^\0]/) |
|
285
|
0 |
0 |
unless ($n) |
|
289
|
0 |
0 |
if ($buf =~ /\015?\012\015?\012/) |
|
294
|
0 |
0 |
if ($code eq '100') { } |
|
305
|
0 |
0 |
if (defined $wbits and $wbits =~ /[^\0]/) |
|
307
|
0 |
0 |
unless ($n) |
|
308
|
0 |
0 |
unless defined $n |
|
313
|
0 |
0 |
if (not $eof and $woffset >= length $$wbuf) |
|
316
|
0 |
0 |
unless defined $buf |
|
317
|
0 |
0 |
unless length $buf |
|
318
|
0 |
0 |
if $chunked |
|
328
|
0 |
0 |
unless $code |
|
330
|
0 |
0 |
if $code eq '100' |
|
340
|
0 |
0 |
if @junk |
|
345
|
0 |
0 |
if ($method eq 'CONNECT') |
|
350
|
0 |
0 |
if (my(@te) = $response->remove_header('Transfer-Encoding')) |
|
363
|
0 |
0 |
unless defined $n |
|
364
|
0 |
0 |
if $n == -1 |
|
366
|
0 |
0 |
unless $n |
|
369
|
0 |
0 |
unless $complete |
|
379
|
0 |
0 |
unless ($drop_connection) |
|
380
|
0 |
0 |
if (my $conn_cache = $$self{'ua'}{'conn_cache'}) |
|
383
|
0 |
0 |
if ($peer_http_version eq '1.1' and not $connection{'close'} or $connection{'keep-alive'}) |
|
403
|
0 |
0 |
if (defined $timeout) { } |
|
404
|
0 |
0 |
unless $self->can_read($timeout) |
|
409
|
0 |
0 |
unless $self->can_read(undef) |
|
419
|
0 |
0 |
unless defined $nfound |