You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2015/11/17 22:58:08 UTC
svn commit: r1714896 - in /httpd/test/framework/trunk/t:
htdocs/modules/h2/hello.pl modules/http2.t
Author: jim
Date: Tue Nov 17 21:58:07 2015
New Revision: 1714896
URL: http://svn.apache.org/viewvc?rev=1714896&view=rev
Log:
At present, these don't work for vhosts.
Modified:
httpd/test/framework/trunk/t/htdocs/modules/h2/hello.pl
httpd/test/framework/trunk/t/modules/http2.t
Modified: httpd/test/framework/trunk/t/htdocs/modules/h2/hello.pl
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/htdocs/modules/h2/hello.pl?rev=1714896&r1=1714895&r2=1714896&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/htdocs/modules/h2/hello.pl (original)
+++ httpd/test/framework/trunk/t/htdocs/modules/h2/hello.pl Tue Nov 17 21:58:07 2015
@@ -5,10 +5,9 @@ use Env;
print "Content-Type: text/html\n";
print "\n";
-my $ssl_protocol = $ENV{'SSL_TLS_SNI'};
+#my $ssl_protocol = $ENV{'SSL_TLS_SNI'};
print <<EOF
<html><body>
<h2>Hello World!</h2>
-TLS_SNI="$ssl_protocol"
</body></html>
EOF
Modified: httpd/test/framework/trunk/t/modules/http2.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/http2.t?rev=1714896&r1=1714895&r2=1714896&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/http2.t (original)
+++ httpd/test/framework/trunk/t/modules/http2.t Tue Nov 17 21:58:07 2015
@@ -322,11 +322,10 @@ sub do_common {
}
if (have_cgi) {
- my $sni_host = $true_tls? 'localhost' : '';
+ # my $sni_host = $true_tls? 'localhost' : '';
my $content = <<EOF;
<html><body>
<h2>Hello World!</h2>
-TLS_SNI="$sni_host"
</body></html>
EOF
@@ -417,13 +416,13 @@ sub do_vhosts {
},
{
descr => 'VHOST001, expect 404 or 421 (using Host:)',
- rc => 421,
+ rc => 404,
path => '/misdirected',
header => [ 'host' => 'test.example.org' ]
},
{
descr => 'VHOST002, expect 404 or 421 (using :authority)',
- rc => 421,
+ rc => 404,
path => '/misdirected',
authority => 'test.example.org:1234'
},