Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 60F8A200CC1 for ; Mon, 10 Jul 2017 14:49:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5F7E9165DD1; Mon, 10 Jul 2017 12:49:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9C468165DCC for ; Mon, 10 Jul 2017 14:49:42 +0200 (CEST) Received: (qmail 64873 invoked by uid 500); 10 Jul 2017 12:49:41 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 64864 invoked by uid 99); 10 Jul 2017 12:49:41 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2017 12:49:41 +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 DACAE3A1A3E for ; Mon, 10 Jul 2017 12:49:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1801462 - /httpd/test/framework/trunk/t/modules/remoteip.t Date: Mon, 10 Jul 2017 12:49:39 -0000 To: cvs@httpd.apache.org From: jim@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170710124940.DACAE3A1A3E@svn01-us-west.apache.org> archived-at: Mon, 10 Jul 2017 12:49:43 -0000 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)