[Rt-commit] r3769 - in HTTP-Server-Simple: . lib/HTTP/Server

jesse at bestpractical.com jesse at bestpractical.com
Fri Sep 2 10:41:20 EDT 2005


Author: jesse
Date: Fri Sep  2 10:41:19 2005
New Revision: 3769

Modified:
   HTTP-Server-Simple/   (props changed)
   HTTP-Server-Simple/Changes
   HTTP-Server-Simple/META.yml
   HTTP-Server-Simple/SIGNATURE
   HTTP-Server-Simple/lib/HTTP/Server/Simple.pm
Log:
 r7456 at hualien:  jesse | 2005-08-09 21:26:47 -0400
  Signal handlers hshould be localized so as to not mess with other code


Modified: HTTP-Server-Simple/Changes
==============================================================================
--- HTTP-Server-Simple/Changes	(original)
+++ HTTP-Server-Simple/Changes	Fri Sep  2 10:41:19 2005
@@ -1,3 +1,8 @@
+0.13 Tue Aug  9 21:25:20 EDT 2005
+
+  Signal handlers should be 'localed', so as not to mess with others' 
+  code. -- Thanks to David Wheeler
+
 0.12 Sun Jul 17 02:14:57 EDT 2005
 
   Test suite improvements from Mattia Barbon

Modified: HTTP-Server-Simple/META.yml
==============================================================================
--- HTTP-Server-Simple/META.yml	(original)
+++ HTTP-Server-Simple/META.yml	Fri Sep  2 10:41:19 2005
@@ -1,5 +1,5 @@
 name: HTTP-Server-Simple
-version: 0.12
+version: 0.13
 license: perl
 distribution_type: module
 requires:

Modified: HTTP-Server-Simple/SIGNATURE
==============================================================================
--- HTTP-Server-Simple/SIGNATURE	(original)
+++ HTTP-Server-Simple/SIGNATURE	Fri Sep  2 10:41:19 2005
@@ -14,9 +14,9 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 6d4f8e15dde5a6c187d083138f1e153938b1710e Changes
+SHA1 de608e218003f26fbd0fee7d79ad8b78fe2715f3 Changes
 SHA1 74092110d280de0961a26025021bb987d345dabc MANIFEST
-SHA1 f3e509d68360de8eb914675f304287124c1cbd15 META.yml
+SHA1 0aa0b675ec98b4fcc9eb3d8ca3533a17ca72ff57 META.yml
 SHA1 490f3fd115e09cb05b725580e5ed5cdd58241049 Makefile.PL
 SHA1 ed0c107672daac3bc9e266876666e1059dbe44b7 README
 SHA1 4ea1e9072ca87399184a46233df52a21e285604d ex/sample_server
@@ -28,7 +28,7 @@
 SHA1 e448c6dc5351ef425e3f8bdbeb642409120bc3ca inc/Module/Install/Metadata.pm
 SHA1 134de6ff2f762873b6a1af950dd53f8e0a801d73 inc/Module/Install/Win32.pm
 SHA1 1ec06df292af7f652d33db6129e9e4c7cc8b5095 inc/Module/Install/WriteAll.pm
-SHA1 02ce626459684e2877f3765b26eb6c3ab9565884 lib/HTTP/Server/Simple.pm
+SHA1 bac22d5a4df86809a430790b5745c22398ad15aa lib/HTTP/Server/Simple.pm
 SHA1 f8717b83bec75c3b7dc7904b14823bf605b77f99 lib/HTTP/Server/Simple/CGI.pm
 SHA1 db064af54cab345a71daec576e32e64b8fb1033d t/00smoke.t
 SHA1 9e68bffc26b5a42e2785ec68c3bf6fe45d6bb6da t/01live.t
@@ -38,7 +38,7 @@
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.1 (GNU/Linux)
 
-iD8DBQFC2fe7Ei9d9xCOQEYRAi0qAJ0UK+YBqSfVAvgAQ13v53V0p5483ACfZ8IH
-QKebP7QcVOP9T/c6plsuSiM=
-=KQKS
+iD8DBQFC+VetEi9d9xCOQEYRApnVAJ48RyxwPVlML9Y7cMI8VegRZKDu8ACeLQx+
+/rB4JjYI87p33E7PpnYxSZk=
+=XmHA
 -----END PGP SIGNATURE-----

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	Fri Sep  2 10:41:19 2005
@@ -5,7 +5,7 @@
 use Socket;
 use Carp;
 
-our $VERSION = '0.12';
+our $VERSION = '0.13';
 
 =head1 NAME
 
@@ -60,8 +60,8 @@
 
 # Handle SIGHUP
 
-$SIG{CHLD} = 'IGNORE'; # reap child processes
-$SIG{HUP} = sub {
+local $SIG{CHLD} = 'IGNORE'; # reap child processes
+local $SIG{HUP} = sub {
     # on a "kill -HUP", we first close our socket handles.
     close Remote;
     close HTTPDaemon;


More information about the Rt-commit mailing list