Under Catalyst 5.9, RequireSSL 0.06 no longer detects that it is running
under the development server. This appears to be due to the fact that
$c->engine is now reporting Catalyst::Engine and not
Catalyst::Engine::HTTP. This is the same as when running under FastCGI.
Changing line 67 (in version 0.06) to the following resolves the problem
in our environment:
if ( $c->engine =~ /Catalyst::Engine::HTTP/ || $0 =~ /_server\.pl$/) {
I don't know if this is the best fix, but it doesn't seem as though
$c->engine can be used to differentiate between MYAPP_server.pl and
FastCGI anymore.
Tested in: Perl 5.10.0, 5.12.3 in OSX (Darwin 11.2.0)