Bug#824181: liblwpx-paranoidagent-perl: Patch

Stefan Greiner s.greiner at cadenas.de
Fri May 13 14:19:20 UTC 2016


Package: liblwpx-paranoidagent-perl
Version: 1.10-5
Followup-For: Bug #824181

Dear Maintainer,

here is a patch which fixes to problem in my eyes:

--- /usr/share/perl5/LWPx/Protocol/http_paranoid.pm     2016-05-13 16:13:05.354892077 +0200
+++ /usr/share/perl5/LWPx/Protocol/http_paranoid_fixed.pm       2016-05-13 16:12:40.595164344 +0200
@@ -364,8 +364,8 @@
        {
             _set_time_remain();
            $n = $socket->read_entity_body($buf, $size);
-           redo READ if $n == -1;
            redo READ if not defined $n and $! == EAGAIN;
+           redo READ if $n == -1;
            die "Can't read entity body: $!" unless defined $n;
        }
        $complete++ if !$n;

Thank you.

-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages liblwpx-paranoidagent-perl depends on:
ii  ca-certificates       20141019+deb8u1
ii  libcrypt-ssleay-perl  0.58-1+b2
ii  libnet-dns-perl       0.81-2
ii  libwww-perl           6.08-1
ii  perl                  5.20.2-3+deb8u4

liblwpx-paranoidagent-perl recommends no packages.

liblwpx-paranoidagent-perl suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list