You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-commits@perl.apache.org by rj...@apache.org on 2018/10/22 12:49:23 UTC

svn commit: r1844552 - /perl/Apache-Test/trunk/lib/Apache/TestRequest.pm

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};