Commit a7f44ea4 authored by Dietmar Maurer's avatar Dietmar Maurer

disable verify_hostname with LWP

This was the default for libwww-perl-5.837 and earlier releases.
parent 45f0ae72
......@@ -205,6 +205,7 @@ sub proxy_handler {
debug_msg("proxy start $method $host:$abs_uri");
my $ua = LWP::UserAgent->new(
ssl_opts => { verify_hostname => 0 },
protocols_allowed => [ 'http', 'https' ],
timeout => 30,
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment