You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the run() method of Plack::Hanlder::FCGI on Win32 / Apache2 dies in the following code:
sub run {
my ($self, $app) = @_;
my $sock = 0;
if (!RUNNING_IN_HELL && -S STDIN) {
# running from web server. Do nothing
} elsif ($self->{listen}) {
my $old_umask = umask;
unless ($self->{leave_umask}) {
umask(0);
}
$sock = FCGI::OpenSocket( $self->{listen}->[0], 100 )
or die "failed to open FastCGI socket: $!";
unless ($self->{leave_umask}) {
umask($old_umask);
}
} else {
die "STDIN is not a socket: specify a listen location"; # <=== CODE DIES HERE ==
}
....
seems there is a missing case in the if to handle Win32 / Apache2 correctly.
If we remark the else case then it works , please take a look and see what should be done in case of Win32 under Apache in the above code.
The script itself is a Dancer application
The text was updated successfully, but these errors were encountered:
How do you run your fastcgi app on win32/apache2 btw? I'm assuming you're running it with the dynamic mode? mod_fastcgi and .fcgi script with plackup in its shebang?
the run() method of Plack::Hanlder::FCGI on Win32 / Apache2 dies in the following code:
seems there is a missing case in the if to handle Win32 / Apache2 correctly.
If we remark the else case then it works , please take a look and see what should be done in case of Win32 under Apache in the above code.
The script itself is a Dancer application
The text was updated successfully, but these errors were encountered: