[Rt-commit] r5514 - in HTTP-Server-Simple: .
kevinr at bestpractical.com
kevinr at bestpractical.com
Mon Jul 3 19:15:09 EDT 2006
Author: kevinr
Date: Mon Jul 3 19:15:06 2006
New Revision: 5514
Modified:
HTTP-Server-Simple/ (props changed)
HTTP-Server-Simple/Changes
HTTP-Server-Simple/META.yml
HTTP-Server-Simple/lib/HTTP/Server/Simple.pm
Log:
r14307 at sad-girl-in-snow: kevinr | 2006-07-03 19:14:41 -0400
* Ignoring SIGPIPE to prevent the standalone server from dying when the client
closes the pipe to follow a redirect.
* Bumped the version number.
Modified: HTTP-Server-Simple/Changes
==============================================================================
--- HTTP-Server-Simple/Changes (original)
+++ HTTP-Server-Simple/Changes Mon Jul 3 19:15:06 2006
@@ -1,3 +1,8 @@
+0.19
+
+ Catch and ignore SIGPIPE, so broken pipes from the client don't cause
+ Standalone to drop all the way back to the shell.
+
Require POSIX only if we need it, rather than "use" it all the time
[cpan #17533] - Brad Bowman
Modified: HTTP-Server-Simple/META.yml
==============================================================================
--- HTTP-Server-Simple/META.yml (original)
+++ HTTP-Server-Simple/META.yml Mon Jul 3 19:15:06 2006
@@ -1,5 +1,5 @@
distribution_type: module
-generated_by: Module::Install version 0.62
+generated_by: Module::Install version 0.63
license: perl
name: HTTP-Server-Simple
no_index:
@@ -10,4 +10,4 @@
CGI: 0
Socket: 0
Test::More: 0
-version: 0.18
+version: 0.19
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 Jul 3 19:15:06 2006
@@ -5,7 +5,7 @@
use Socket;
use Carp;
-our $VERSION = '0.18';
+our $VERSION = '0.19';
=head1 NAME
@@ -186,6 +186,7 @@
# Handle SIGHUP
local $SIG{CHLD} = 'IGNORE'; # reap child processes
+ local $SIG{PIPE} = 'IGNORE'; # ignore broken pipes (for now)
local $SIG{HUP} = sub {
# XXX TODO: Autrijus says this code was incorrect when he wrote
More information about the Rt-commit
mailing list