X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FEngine%2FSpeedyCGI.pm;h=85f19d703d2b14dd9d1ad6d7805ad473fd419a32;hb=566ee5d777a655fce380b8fe864a99809f7c8e04;hp=0afabffcca633200ef08c9d4b7afa02be37f40a5;hpb=e2fd5b5f162a33895ad401a8d31fca481c478a8c;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Engine/SpeedyCGI.pm b/lib/Catalyst/Engine/SpeedyCGI.pm index 0afabff..85f19d7 100644 --- a/lib/Catalyst/Engine/SpeedyCGI.pm +++ b/lib/Catalyst/Engine/SpeedyCGI.pm @@ -29,7 +29,8 @@ This is the Catalyst engine for SpeedyCGI. =head1 OVERLOADED METHODS -This class overloads some methods from C. +This class overloads some methods from C +and C. =over 4 @@ -55,6 +56,7 @@ sub prepare_parameters { sub prepare_request { my ( $c, $speedycgi, @arguments ) = @_; + $speedycgi->register_cleanup( \&CGI::_reset_globals ); $c->SUPER::prepare_request($speedycgi); $c->Catalyst::Engine::CGI::prepare_request(@arguments); }