Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mojolicious/mojo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6f317271bfda8feb27e8f05aaab53bc087092a2f
Choose a base ref
..
head repository: mojolicious/mojo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 044e4d5e85df709c2b2f60b636ee15db5620bfc1
Choose a head ref
Showing with 3 additions and 2 deletions.
  1. +3 −2 t/mojo/user_agent_tls.t
5 changes: 3 additions & 2 deletions t/mojo/user_agent_tls.t
Original file line number Diff line number Diff line change
@@ -100,12 +100,13 @@ subtest 'Web server with valid certificates and no verification' => sub {

subtest 'Client side TLS options' => sub {
my $daemon = Mojo::Server::Daemon->new(app => app, ioloop => Mojo::IOLoop->singleton, silent => 1);
my $listen = 'https://127.0.0.1'
my $listen
= 'https://127.0.0.1'
. '?cert=t/mojo/certs/server.crt'
. '&key=t/mojo/certs/server.key'
. '&ca=t/mojo/certs/ca.crt'
. '&version=TLSv1_2';
my $port = $daemon->listen([$listen])->start->ports->[0];
my $port = $daemon->listen([$listen])->start->ports->[0];

subtest '(Not) setting verification mode' => sub {
my $ua = Mojo::UserAgent->new(ioloop => Mojo::IOLoop->singleton);