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 2017/07/10 12:49:39 UTC

svn commit: r1801462 - /httpd/test/framework/trunk/t/modules/remoteip.t

Author: jim
Date: Mon Jul 10 12:49:39 2017
New Revision: 1801462

URL: http://svn.apache.org/viewvc?rev=1801462&view=rev
Log:
possible CPAN lib to help make this easier

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=1801462&r1=1801461&r2=1801462&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/remoteip.t (original)
+++ httpd/test/framework/trunk/t/modules/remoteip.t Mon Jul 10 12:49:39 2017
@@ -74,6 +74,7 @@ ok t_cmp($content, "PROXY-OK", "Context
 $sock->shutdown(2);
 
 # TODO: test binary format
+# Use NetAddr::IP::Util as needed??
 $proxy = "\x0D\x0A\x0D\x0A\x00\x0D\x0A\x51\x55\x49\x54\x0A"; # header
 $proxy .= "\x21"; # protocol version and command (AF_INET STREAM)
 $proxy .= "\x11"; # transport protocol and address family (TCP over IPv4)