On Sun, 07 Apr 2019 18:39:44 +0200, Guilhem Moulin wrote: > > I can't reproduce this problem: > Interesting, are you talking TLS 1.3?
Good question :)
> $ dpkg-query -l "libssl*" "libnet-ssleay-perl" "liblwp-protocol-https-perl"
> "libio-socket-ssl-perl"
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version Architecture Description
> +++-==========================-============-============-=================================================================
> ii libio-socket-ssl-perl 2.060-3 all Perl module
> implementing object oriented interface to SSL sockets
> ii liblwp-protocol-https-perl 6.07-2 all HTTPS driver for
> LWP::UserAgent
> ii libnet-ssleay-perl 1.85-2+b1 amd64 Perl module for
> Secure Sockets Layer (SSL)
> ii libssl-dev:amd64 1.1.1b-1 amd64 Secure Sockets Layer
> toolkit - development files
> un libssl-doc <none> <none> (no description
> available)
> un libssl0.9.8 <none> <none> (no description
> available)
> un libssl1.0-dev <none> <none> (no description
> available)
> ii libssl1.1:amd64 1.1.1b-1 amd64 Secure Sockets Layer
> toolkit - shared libraries
% dpkg -l "libssl*" "libnet-ssleay-perl" "liblwp-protocol-https-perl"
"libio-socket-ssl-perl"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================-===============-============-=================================================================
ii libio-socket-ssl-perl 2.060-3 all Perl module
implementing object oriented interface to SSL sockets
ii liblwp-protocol-https-perl 6.07-2 all HTTPS driver for
LWP::UserAgent
ii libnet-ssleay-perl 1.85-2+b1 amd64 Perl module for
Secure Sockets Layer (SSL)
un libssl0.9.8 <none> <none> (no description
available)
un libssl1.0.0 <none> <none> (no description
available)
ii libssl1.0.2:amd64 1.0.2r-1~deb9u1 amd64 Secure Sockets
Layer toolkit - shared libraries
ii libssl1.1:amd64 1.1.1b-1 amd64 Secure Sockets
Layer toolkit - shared libraries
ii libssl1.1:i386 1.1.1b-1 i386 Secure Sockets
Layer toolkit - shared libraries
Hm I note that I still have libssl1.0.2 installed additionally.
Alright, after purging libssl1.0.2 (and the outdated packages which
depended on it *cough*) I get the hang as well:
% time perl -MLWP::UserAgent -e
'LWP::UserAgent->new->post("https://facebook.com", { data => "foo" }) or die'
[long time nothing]
perl -MLWP::UserAgent -e 0.18s user 0.02s system 0% cpu 3:06.66 total
Thanks for the push in the right direction!
> > % time perl -MLWP::UserAgent -e
> > 'LWP::UserAgent->new->post("https://twitter.com", { data => "foo" }) or die'
> > perl -MLWP::UserAgent -e 0.13s user 0.02s system 36% cpu 0.415 total
>
> twitter.com doesn't support TLS 1.3 though, right?
Good catch, I just wanted to try a random website which is IPv4-only.
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`- NP: Furry Lewis: Billy lyons & stack o' lee
signature.asc
Description: Digital Signature

