Skip to content

Commit

Permalink
download: enable proxy support for HTTPS.
Browse files Browse the repository at this point in the history
Non-ancient versions (anything past 2013) should be able to handle
proxying HTTPS connections with IO::Socket::Ssl just fine.
  • Loading branch information
Ionic committed Nov 17, 2017
1 parent fd704b8 commit d31f119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion download
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ for my $url (@ARGV) {
} else {
$url = URI->new($url);
}
$ua->env_proxy if $url->scheme ne 'https';
$ua->env_proxy;
my $dest = "$dir/".basename($url->path);
unlink($dest); # just in case
my $retry = 3;
Expand Down

0 comments on commit d31f119

Please sign in to comment.