Thread [Perl 5.22] LWP, SSL und Bad file descriptor (28 answers)
Opened by rosti at 2025-02-14 12:51

rosti
 2025-02-18 16:43
#196880 #196880
User since
2011-03-19
3530 Artikel
BenutzerIn
[Homepage]
user image
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
use strict;
use warnings;
use base qw(Factory);

my $res = main->request( uri => 'https://www.example.com' );

printf( qq(
    Response => %s
    Mozilla::CA::VERSION => %s
    LWP::Protocol::https::VERSION => %s
    IO::Socket::SSL::VERSION => %s
), $res->status_line, $Mozilla::CA::VERSION, $LWP::Protocol::https::VERSION, $IO::Socket::SSL::VERSION);



Code: (dl )
1
2
3
4
5
6
7
8
    Response => 200 OK
Mozilla::CA::VERSION => 20150826
LWP::Protocol::https::VERSION => 6.06
IO::Socket::SSL::VERSION => 2.020


This is perl 5, version 22, subversion 1 (v5.22.1) built for MSWin32-x64-multi-thread
ActiveState



PS: Das heißt, daß bei diesem https-Request sowohl Mozilla::CA als auch LWP::Protocol::https geladen werden.
Last edited: 2025-02-19 08:57:29 +0100 (CET)

View full thread [Perl 5.22] LWP, SSL und Bad file descriptor