Fwd: Feersum FTBFS

Xavier yadd at debian.org
Sun Sep 30 08:28:04 BST 2018


CC to Perl-Team

-------- Forwarded Message --------
Subject : Re: Feersum FTBFS
Date : Sun, 30 Sep 2018 09:17:46 +0200
>From : Xavier <yadd at debian.org>
To : 909480 at bugs.debian.org
Cc : Santiago Vila <sanvila at unex.es>

Le 30/09/2018 à 09:12, Xavier a écrit :
> Control: severity -1 normal
> Control: tags -1 + patch
> Control: reassign -1 perl-modules-5.26
> 
> Sometimes, a closed connection isn't detected by HTTP::Tiny. To
> reproduce the bug, use feersum sources:
> 
> $ perl Makefile.PL && make
> $ taskset -c 0 perl -I blib/lib -I blib/arch t/63*
> 
> HTTP::Tiny tries to reuse a closed connection.
> 
> This little patch fixes the problem:
> 
> --- HTTP/Tiny.pm.orig        2018-09-30 09:02:16.674730242 +0200
> +++ HTTP/Tiny.pm     2018-09-30 09:02:43.274353687 +0200
> @@ -647,6 +647,7 @@
>      if ( $self->{keep_alive}
>          && $known_message_length
>          && $response->{protocol} eq 'HTTP/1.1'
> +        && $self->connected
>          && ($response->{headers}{connection} || '') ne 'close'
>      ) {
>          $self->{handle} = $handle;

So last problem for Feersum: it seems to close connection that were
declared "Connection: keep-alive" (on heavy load or when only 1 CPU is
available). Reported.



More information about the pkg-perl-maintainers mailing list