[Catalyst] Engine/FastCGI.pm failure under Win32

Carl Franks fireartist at gmail.com
Fri Dec 2 12:57:01 CET 2005


On 01/12/05, Sam Vilain <sam at vilain.net> wrote:
> I suggest reformatting your patch to wrap the blocks that don't work
> with ($^O eq "Win32") etc.  Or, preferably, find out how you check on
> Win32 that it *is* actually being called in a FastCGI context, and
> refuse to run otherwise.  Porting beats regression in my books.

Okay, here's an updated patch, against svn rev 2345

It only skips the check if it's running under MSWin32.

I don't have the time to do anything further about how to figure out
whether it's really running under fastcgi.

> Out of interest, why do you care when you can just run the CGI handler
> instead?

I find that compilation errors under fastcgi leave useless error
messages in the error-log, so the ability to run from the command line
is often necessary.
Having to diff the cgi.pl and fastcgi.pl files to make sure they're
the same would be an annoyance.

Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FastCGI.pm.patch
Type: application/octet-stream
Size: 471 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20051202/5a02b30d/FastCGI.pm.obj


More information about the Catalyst mailing list