Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use a better site for SNI testing
  • Loading branch information
kraih committed Oct 9, 2015
1 parent 7004bb5 commit ad844a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

6.24 2015-10-08
6.24 2015-10-09

6.23 2015-10-06
- Improved documentation browser CSS.
Expand Down
5 changes: 1 addition & 4 deletions t/mojo/user_agent_online.t
Expand Up @@ -204,10 +204,7 @@ is $tx->res->code, 200, 'right status';
# HTTPS request that requires SNI
SKIP: {
skip 'SNI support required!', 1 unless IO::Socket::SSL->can_client_sni;

$tx = $ua->get('https://google.de');
like $ua->ioloop->stream($tx->connection)
->handle->peer_certificate('commonName'), qr/google\.de/, 'right name';
like $ua->get('https://sni.velox.ch')->res->body, qr/Great!/, 'with SNI';
}

# Fresh user agent again
Expand Down

0 comments on commit ad844a7

Please sign in to comment.