Skip to content

Commit

Permalink
I fail at fixing things which don't have tests
Browse files Browse the repository at this point in the history
  • Loading branch information
t0m committed May 21, 2009
1 parent 7fa33ad commit 3edf50d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ This file documents the revision history for Perl extension Catalyst-Devel.
that the restarter is as slow as ever on Win32, but it
works. Thanks to Rodrigo for the bug report and suggestion
on how to fix it. (Dave Rolsky)
- Actually fix -p option for port number, as I failed to do it
right last time as I'm an idiot (t0m)

1.15 2009-05-13 20:02
- Remove -p option for pid file, and restore it to the port number,
Expand Down
8 changes: 7 additions & 1 deletion lib/Catalyst/Helper.pm
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,12 @@ GetOptions(
pod2usage(1) if $help;
# as the IIS doesn't like output to STDERR keep it at STDOUT, otherwise the
# server will return "Connection Interrupted"
if ( $^O eq 'MSWin32' && exists($ENV{APP_POOL_ID}) ) {
$keep_stderr = 1;
}
[% name %]->run(
$listen,
{ nproc => $nproc,
Expand Down Expand Up @@ -988,7 +994,7 @@ GetOptions(
'fork|f' => \$fork,
'help|?' => \$help,
'host=s' => \$host,
'port=s' => \$port,
'port|p=s' => \$port,
'keepalive|k' => \$keepalive,
'restart|r' => \$restart,
'restartdelay|rd=s' => \$check_interval,
Expand Down

0 comments on commit 3edf50d

Please sign in to comment.