httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1801455 - /httpd/test/framework/trunk/t/modules/remoteip.t
Date Mon, 10 Jul 2017 12:22:04 GMT
Author: jim
Date: Mon Jul 10 12:22:04 2017
New Revision: 1801455

URL: http://svn.apache.org/viewvc?rev=1801455&view=rev
Log:
explain the test and what we expect and why we expect it

Modified:
    httpd/test/framework/trunk/t/modules/remoteip.t

Modified: httpd/test/framework/trunk/t/modules/remoteip.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/remoteip.t?rev=1801455&r1=1801454&r2=1801455&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/remoteip.t (original)
+++ httpd/test/framework/trunk/t/modules/remoteip.t Mon Jul 10 12:22:04 2017
@@ -46,10 +46,10 @@ ok $sock;
 $sock->print($req . $url);
 $sock->shutdown(1);
 
+# In httpd, a bad PROXY format simply results in the connection
+# being dropped. So ensure we don't get anything that looks
+# like a response
 $response_data = slurp($sock);
-#print "--\n";
-#print "$response_data\n";
-#print "--\n";
 $r = HTTP::Response->parse($response_data);
 chomp($content = $r->content);
 ok t_cmp($r->code, undef, "broken PROXY protocol human readable check");



Mime
View raw message