Bug#1077056: libwww-perl: LWP::ConnCache - missleading info about dtop
anfi
anfi at onet.eu
Thu Jul 25 16:52:41 BST 2024
Package: libwww-perl
Version: 6.77-1
Severity: minor
Tags: upstream
man LWP::ConnCache constain missleading info,
The section below
$cache->drop(22, "Older than 22 secs dropped");
# which is just a synonym for:
$cache->drop(sub {
my ($conn, $type, $key, $deposit_time) = @_;
if ($deposit_time < 22) {
# true values drop the connection
return 1;
}
# false values don't drop the connection
return 0;
}, "Older than 22 secs dropped" );
should be corrected to
if ($deposit_time < time - 22) {
More information about the pkg-perl-maintainers
mailing list