From test-commits-return-359-archive-asf-public=cust-asf.ponee.io@perl.apache.org Mon Oct 22 14:49:26 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id BF8D618064A for ; Mon, 22 Oct 2018 14:49:25 +0200 (CEST) Received: (qmail 76224 invoked by uid 500); 22 Oct 2018 12:49:24 -0000 Mailing-List: contact test-commits-help@perl.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: test-dev@perl.apache.org Delivered-To: mailing list test-commits@perl.apache.org Received: (qmail 76215 invoked by uid 99); 22 Oct 2018 12:49:24 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2018 12:49:24 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 48FE13A0098 for ; Mon, 22 Oct 2018 12:49:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1844552 - /perl/Apache-Test/trunk/lib/Apache/TestRequest.pm Date: Mon, 22 Oct 2018 12:49:23 -0000 To: test-commits@perl.apache.org From: rjung@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20181022124924.48FE13A0098@svn01-us-west.apache.org> 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};