You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2017/08/22 08:18:31 UTC
svn commit: r1805731 - /httpd/test/framework/trunk/t/modules/proxy.t
Author: jorton
Date: Tue Aug 22 08:18:31 2017
New Revision: 1805731
URL: http://svn.apache.org/viewvc?rev=1805731&view=rev
Log:
Test ProxyAddHeaders with 2.4.28.
Modified:
httpd/test/framework/trunk/t/modules/proxy.t
Modified: httpd/test/framework/trunk/t/modules/proxy.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/proxy.t?rev=1805731&r1=1805730&r2=1805731&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/proxy.t (original)
+++ httpd/test/framework/trunk/t/modules/proxy.t Tue Aug 22 08:18:31 2017
@@ -45,7 +45,7 @@ if (have_cgi) {
ok t_cmp($r->content, qr/^APACHE_TEST_HOSTNAME = /, "reverse proxied env.pl response");
ok t_cmp($r->content, qr/HTTP_X_FORWARDED_FOR = /, "X-Forwarded-For enabled");
- if (have_min_apache_version('2.5.0')) {
+ if (have_min_apache_version('2.4.28')) {
Apache::TestRequest::module("proxy_http_nofwd");
$r = GET("/reverse/modules/cgi/env.pl");
ok t_cmp($r->code, 200, "reverse proxy to env.pl without X-F-F");
@@ -54,7 +54,7 @@ if (have_cgi) {
Apache::TestRequest::module("proxy_http_reverse");
}
else {
- skip "skipping tests with httpd < 2.5" foreach (1..2);
+ skip "skipping tests with httpd < 2.4.28" foreach (1..2);
}
$r = GET("/reverse/modules/cgi/env.pl?reverse-proxy");