[Mungo-devel] [mungo commit] r106 - in trunk/lib: . Mungo

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Tue Jan 26 18:24:52 EST 2010


Author: jesus
Date: 2010-01-26 18:24:52 -0500 (Tue, 26 Jan 2010)
New Revision: 106

Modified:
   trunk/lib/Mungo.pm
   trunk/lib/Mungo/Quiet.pm
Log:
cleanse was wiping the code.

Modified: trunk/lib/Mungo/Quiet.pm
===================================================================
--- trunk/lib/Mungo/Quiet.pm	2010-01-26 23:20:18 UTC (rev 105)
+++ trunk/lib/Mungo/Quiet.pm	2010-01-26 23:24:52 UTC (rev 106)
@@ -146,11 +146,12 @@
     #   $Response->End()
   MUNGO_HANDLER_FINISH:
     $self->Response()->finish();
+    my $code = $self->{data}->{ApacheResponseCode} || OK;
     $self->cleanse();
     undef $main::Request;
     undef $main::Response;
     undef $main::Server;
-    return $self->{data}->{ApacheResponseCode} || OK;
+    return $code;
 }
 
 

Modified: trunk/lib/Mungo.pm
===================================================================
--- trunk/lib/Mungo.pm	2010-01-26 23:20:18 UTC (rev 105)
+++ trunk/lib/Mungo.pm	2010-01-26 23:24:52 UTC (rev 106)
@@ -324,13 +324,13 @@
   #   $Response->End()
  MUNGO_HANDLER_FINISH:
   $self->Response()->finish();
-
+  my $code = $self->{data}->{ApacheResponseCode} || OK;
   $self->cleanse();
   undef $main::Request;
   undef $main::Response;
   undef $main::Server;
   undef $self;
-  return &OK;
+  return $code; 
 }
 
 



More information about the Mungo-devel mailing list