Fixed session fastmmap
[catagits/Catalyst-Plugin-Session-State-Cookie.git] / FastMmap.pm
index b367f3a..fd814db 100644 (file)
@@ -9,7 +9,7 @@ use URI;
 use URI::Find;
 use File::Temp 'tempdir';
 
-our $VERSION = '0.07';
+our $VERSION = '0.09';
 
 __PACKAGE__->mk_classdata('_session');
 __PACKAGE__->mk_accessors('sessionid');
@@ -64,7 +64,7 @@ sub finalize {
                     return $c->uri($orig);
                 }
             );
-            $finder->find( \$c->res->{output} ) if $c->res->output;
+            $finder->find( \$c->res->{body} ) if $c->res->body;
         }
     }
     return $c->NEXT::finalize(@_);
@@ -177,8 +177,8 @@ Marcus Ramberg C<mramberg@cpan.org>
 
 =head1 COPYRIGHT
 
-This program is free software, you can redistribute it and/or modify it under
-the same terms as Perl itself.
+This program is free software, you can redistribute it and/or modify it
+under the same terms as Perl itself.
 
 =cut