[Rt-commit] r3946 - in HTTP-Server-Simple: . lib/HTTP/Server
jesse at bestpractical.com
jesse at bestpractical.com
Mon Oct 10 19:33:33 EDT 2005
Author: jesse
Date: Mon Oct 10 19:33:33 2005
New Revision: 3946
Modified:
HTTP-Server-Simple/ (props changed)
HTTP-Server-Simple/lib/HTTP/Server/Simple.pm
Log:
r17272 at hualien: jesse | 2005-10-10 15:32:15 -0400
* Updates to SIGHUP handler docs from Matt Trout
Modified: HTTP-Server-Simple/lib/HTTP/Server/Simple.pm
==============================================================================
--- HTTP-Server-Simple/lib/HTTP/Server/Simple.pm (original)
+++ HTTP-Server-Simple/lib/HTTP/Server/Simple.pm Mon Oct 10 19:33:33 2005
@@ -55,7 +55,13 @@
=item HUP
-When you C<kill -HUP> the server, it does its best to rexec itself.
+When you C<kill -HUP> the server, it does its best to rexec
+itself. Please note that in order to provide restart-on-SIGHUP,
+HTTP::Server::Simple sets a SIGHUP handler during initialisation. If
+your request handling code forks you need to make sure you reset this
+or unexpected things will happen if somebody sends a HUP to all running
+processes spawned by your app (e.g. by "kill -HUP <script>")
+
=item PIPE
More information about the Rt-commit
mailing list