Skip to content

Commit

Permalink
do not verify the https host in the test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoweibin committed Jan 30, 2012
1 parent 971c2d4 commit 2d6dbec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/Test/Nginx/LWP.pm
Expand Up @@ -34,7 +34,7 @@ use Test::Nginx::Util qw(
repeat_each
);

our $UserAgent = LWP::UserAgent->new;
our $UserAgent = LWP::UserAgent->new(ssl_opts => { verify_hostname => 0 });
$UserAgent->agent(__PACKAGE__);
#$UserAgent->default_headers(HTTP::Headers->new);

Expand Down

0 comments on commit 2d6dbec

Please sign in to comment.