Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add SNI-needing test.
Under it/, for tests that need internet access to work.
  • Loading branch information
jnthn committed Jul 18, 2017
1 parent 946b188 commit 61cfc1e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions it/needs-sni.t
@@ -0,0 +1,9 @@
use IO::Socket::Async::SSL;
use Test;

my $conn;
lives-ok { $conn = await IO::Socket::Async::SSL.connect("httpbin.org", 443) },
'Can connect to a site that needs Server Name Identification';
$conn.?close;

done-testing;

0 comments on commit 61cfc1e

Please sign in to comment.