[Catalyst-commits] r6429 - in trunk/Catalyst-Engine-HTTP-POE: .
lib/Catalyst/Engine/HTTP
andyg at dev.catalyst.perl.org
andyg at dev.catalyst.perl.org
Thu May 24 16:46:54 GMT 2007
Author: andyg
Date: 2007-05-24 16:46:44 +0100 (Thu, 24 May 2007)
New Revision: 6429
Modified:
trunk/Catalyst-Engine-HTTP-POE/Changes
trunk/Catalyst-Engine-HTTP-POE/lib/Catalyst/Engine/HTTP/POE.pm
Log:
POE engine: Add a SIGTERM handler
Modified: trunk/Catalyst-Engine-HTTP-POE/Changes
===================================================================
--- trunk/Catalyst-Engine-HTTP-POE/Changes 2007-05-23 19:38:54 UTC (rev 6428)
+++ trunk/Catalyst-Engine-HTTP-POE/Changes 2007-05-24 15:46:44 UTC (rev 6429)
@@ -1,11 +1,13 @@
This file documents the revision history for Catalyst::Engine::HTTP::POE.
+# XXX: remove experimental text before 0.07 release
0.07
- Sending SIGHUP to the server will now cause it to restart.
+ - Sending SIGTERM will now properly shut down the server.
- Removed time prefix from warn calls.
- Allow custom alias to be passed in.
- Added $kernel->call('status') method for retrieving current status.
- - Switch to Module::Install
+ - Switch to Module::Install.
0.06 2007-02-27 16:00:00
- Keep-alive support.
Modified: trunk/Catalyst-Engine-HTTP-POE/lib/Catalyst/Engine/HTTP/POE.pm
===================================================================
--- trunk/Catalyst-Engine-HTTP-POE/lib/Catalyst/Engine/HTTP/POE.pm 2007-05-23 19:38:54 UTC (rev 6428)
+++ trunk/Catalyst-Engine-HTTP-POE/lib/Catalyst/Engine/HTTP/POE.pm 2007-05-24 15:46:44 UTC (rev 6429)
@@ -139,8 +139,9 @@
# dump our state if we get a SIGUSR1
$kernel->sig( USR1 => 'dump_state' );
- # shutdown on INT
- $kernel->sig( INT => 'shutdown' );
+ # shutdown on INT and TERM
+ $kernel->sig( INT => 'shutdown' );
+ $kernel->sig( TERM => 'shutdown' );
# restart on HUP
$kernel->sig( HUP => 'restart' );
More information about the Catalyst-commits
mailing list