Skip Menu |
 

This queue is for tickets about the HTTP-Server-Simple CPAN distribution.

Report information
The Basics
Id: 14508
Status: resolved
Priority: 0/
Queue: HTTP-Server-Simple

People
Owner: Nobody in particular
Requestors: SIGNALs
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.14_02
Fixed in: (no value)



Download (untitled) / with headers
text/plain 417b
The signals (for SIGHUP et al) are installed at the wrong point. They should be installed when you run the server, not when you load the module. When does this come up? When we're testing our subclasses. We have a program that forks a child to run the server. This installs the SIGHUP in the parent too, as the module magically does things at compile time when the 'use' statment is called, not elsewhere. Mark.
Download (untitled) / with headers
text/plain 394b
[MARKF - Thu Sep 8 08:01:37 2005]: Show quoted text
> The signals (for SIGHUP et al) are installed at the wrong point. They > should be installed when you run the server, not when you load the > module.
Ooops. I didn't mean to hit submit then. Of course I mean "when you load the module not when you run the server", not the other way round as I expressed above. I suck. It's been a long morning.
Date: Thu, 8 Sep 2005 08:09:10 -0400
From: jesse <jesse [...] fsck.com>
To: via RT <bug-HTTP-Server-Simple [...] rt.cpan.org>
Subject: Re: [cpan #14508]
RT-Send-Cc:
Download (untitled) / with headers
text/plain 498b
Show quoted text
> The signals (for SIGHUP et al) are installed at the wrong point. They should be installed when you run the server, not when you load the module. > > When does this come up? When we're testing our subclasses. We have a program that forks a child to run the server. This installs the SIGHUP in the parent too, as the module magically does things at compile time when the 'use' statment is called, not elsewhere.
Point taken. Does 0.14_03 (just hit CPAN) fix this for you? Show quoted text
> Mark. >
--


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.