Permalink
Browse files

do not verify the https host in the test scripts

  • Loading branch information...
1 parent 971c2d4 commit 2d6dbec1150547ef86bd5b2c4077c130e875660f @yaoweibin committed Jan 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/lib/Test/Nginx/LWP.pm
@@ -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);

0 comments on commit 2d6dbec

Please sign in to comment.