perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1844552 - /perl/Apache-Test/trunk/lib/Apache/TestRequest.pm
Date Mon, 22 Oct 2018 12:49:23 GMT
Author: rjung
Date: Mon Oct 22 12:49:23 2018
New Revision: 1844552

URL: http://svn.apache.org/viewvc?rev=1844552&view=rev
Log:
"h2" vhosts are TLS based too.

Modified:
    perl/Apache-Test/trunk/lib/Apache/TestRequest.pm

Modified: perl/Apache-Test/trunk/lib/Apache/TestRequest.pm
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/lib/Apache/TestRequest.pm?rev=1844552&r1=1844551&r2=1844552&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestRequest.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestRequest.pm Mon Oct 22 12:49:23 2018
@@ -292,7 +292,7 @@ sub vhost_socket {
     my($host, $port) = split ':', $hostport;
     my(%args) = (PeerAddr => $host, PeerPort => $port);
 
-    if ($module and $module =~ /ssl/) {
+    if ($module and ($module =~ /ssl/ || $module eq 'h2')) {
         require IO::Socket::SSL;
         # Add all conn_opts to args
         map {$args{$_} = $conn_opts->{$_}} keys %{$conn_opts};



Mime
View raw message