Return-Path: Delivered-To: apmail-httpd-apreq-cvs-archive@www.apache.org Received: (qmail 71522 invoked from network); 5 Feb 2011 07:04:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Feb 2011 07:04:31 -0000 Received: (qmail 86125 invoked by uid 500); 5 Feb 2011 07:04:31 -0000 Delivered-To: apmail-httpd-apreq-cvs-archive@httpd.apache.org Received: (qmail 86091 invoked by uid 500); 5 Feb 2011 07:04:30 -0000 Mailing-List: contact apreq-cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: apreq-dev@httpd.apache.org List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-cvs@httpd.apache.org Received: (qmail 86084 invoked by uid 99); 5 Feb 2011 07:04:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Feb 2011 07:04:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Feb 2011 07:04:28 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 71BEE23888CF; Sat, 5 Feb 2011 07:04:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1067402 - /httpd/apreq/trunk/glue/perl/lib/APR/Request/Magic.pm Date: Sat, 05 Feb 2011 07:04:08 -0000 To: apreq-cvs@httpd.apache.org From: joes@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110205070408.71BEE23888CF@eris.apache.org> Author: joes Date: Sat Feb 5 07:04:08 2011 New Revision: 1067402 URL: http://svn.apache.org/viewvc?rev=1067402&view=rev Log: MODE var Modified: httpd/apreq/trunk/glue/perl/lib/APR/Request/Magic.pm Modified: httpd/apreq/trunk/glue/perl/lib/APR/Request/Magic.pm URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/glue/perl/lib/APR/Request/Magic.pm?rev=1067402&r1=1067401&r2=1067402&view=diff ============================================================================== --- httpd/apreq/trunk/glue/perl/lib/APR/Request/Magic.pm (original) +++ httpd/apreq/trunk/glue/perl/lib/APR/Request/Magic.pm Sat Feb 5 07:04:08 2011 @@ -8,6 +8,7 @@ if ($@) { base->import("APR::Pool"); *handle = sub { APR::Request::CGI->handle(@_) }; *new = sub { $ctx ||= bless APR::Pool->new, shift; return $ctx }; + our $MODE = "CGI"; } else { require Apache2::RequestRec; @@ -15,6 +16,7 @@ else { base->import("Apache2::RequestRec"); *handle = sub { APR::Request::Apache2->handle(@_) }; *new = sub { bless Apache2::RequestUtil->request, shift }; + our $MODE = "Apache2"; } 1;