[SP-pm] Res: Atualização da lib LWP para a versão 6.0 problema https

Ricardo Filipo ricardo_filipo at yahoo.com.br
Tue Mar 15 13:34:20 PDT 2011


Tambem tive o mesmo problema :p
Seria bom alguem criar a issue

Vejam que no arquivo:
http://cpansearch.perl.org/src/GAAS/libwww-perl-6.01/Makefile.PL
os modulos IO::Socket::SSL e Mozilla::CA estao na META_MERGE mas deveriam 
estar na PREREQ_PM.
:)


----- Mensagem original ----
De: Daniel de Oliveira Mantovani <daniel.oliveira.mantovani em gmail.com>
Para: saopaulo-pm em mail.pm.org
Enviadas: Terça-feira, 15 de Março de 2011 13:06:45
Assunto: [SP-pm] Atualização da lib LWP para a versão 6.0 problema https

Bom, se você atualizar o seu LWP. Todos os módulos que usam ele(pelo
menos boa parte deles), vão ter um problema com requisições "https".

Eu perdi um bom tempo até saber que o problema foi uma atualização do
LWP, como esse módulo é muito, muito usado achei interessante
compartilhar a experiência aqui. Portanto, após a atualização,
instalem os módulos:
IO::Socket::SSL e Mozilla::CA
Que os problemas com https serão resolvidos.

http://cpansearch.perl.org/src/GAAS/libwww-perl-6.01/Changes
"For https://... default to verified connections with require IO::Socket::SSL
and Mozilla::CA modules to be installed.  Old behaviour can be requested by
setting the PERL_LWP_SSL_VERIFY_HOSTNAME environment variable to 0.  The
LWP::UserAgent got new ssl_opts method to control this as well."


-- 
"If you’ve never written anything thoughtful, then you’ve never had
any difficult, important, or interesting thoughts. That’s the secret:
people who don’t write, are people who don’t think."
=begin disclaimer
   Sao Paulo Perl Mongers: http://sao-paulo.pm.org/
SaoPaulo-pm mailing list: SaoPaulo-pm em pm.org
L<http://mail.pm.org/mailman/listinfo/saopaulo-pm>
=end disclaimer



      


More information about the SaoPaulo-pm mailing list