httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1067402 - /httpd/apreq/trunk/glue/perl/lib/APR/Request/Magic.pm
Date Sat, 05 Feb 2011 07:04:08 GMT
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;



Mime
View raw message