Skip to content

Commit

Permalink
Logic bug in bin/fastcgi_server; allow use of --port.
Browse files Browse the repository at this point in the history
Patch below (against 3.8-trunk) fixes bin/fastcgi_server --port <foo>.
Without this, it always listens on $RT::VarPath/fastcgi.sock.

Regards,
Tom
  • Loading branch information
tomlanyon authored and obra committed Sep 30, 2010
1 parent cae63fc commit 8105bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/fastcgi_server.in
Expand Up @@ -198,7 +198,7 @@ $ENV{'RT_WEBMUX_HEAVY_LOAD'} = 1;
use File::Basename;
require (dirname(__FILE__) .'/webmux.pl');

unless ( $opt{'socket'} && $opt{'port'} ) {
unless ( $opt{'socket'} || $opt{'port'} ) {
require File::Spec;
$opt{'socket'} = File::Spec->catfile($RT::VarPath, 'fastcgi.sock');
}
Expand Down

0 comments on commit 8105bc6

Please sign in to comment.