Bug#914034: Bug#911938: libhttp-daemon-ssl-perl FTBFS: tests fail: Connection refused

Guilhem Moulin guilhem at debian.org
Tue Apr 9 16:14:32 BST 2019


On Tue, 09 Apr 2019 at 16:59:20 +0200, gregor herrmann wrote:
> When I install the package with the patch and run our test case
> again, I don't get any hangs anymore:
> 
> % time perl -MLWP::UserAgent -e 'LWP::UserAgent->new->post("https://facebook.com", { data => "foo" }) or die'
> perl -MLWP::UserAgent -e   0.18s user 0.02s system 22% cpu 0.867 total 

With TLS 1.3?  (You can pass ‘SSL_version => "TLSv1_3"’ to ssl_opts to
force this.)  Doesn't work here, still hangs on read():

$ strace -etrace=select,read perl -MLWP::UserAgent -e 'LWP::UserAgent->new( ssl_opts =>
    {SSL_version => "TLSv1_3"})->post("https://facebook.com", { data => "foo" })'
[…]
select(8, [3], [3], NULL, {tv_sec=180, tv_usec=0}) = 2 (in [3], out [3], left {tv_sec=179, tv_usec=999998})
read(3, "…", 5)  = 5
read(3, "…" 156) = 156
read(3,

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914034#101 and the
OpenSSL changelog: “Applications that use blocking I/O in combination
with something like select() or poll() will hang”

-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20190409/c72d50b6/attachment.sig>


More information about the pkg-perl-maintainers mailing list