[Xml-compile] Re: Errors returned by XML::Compile::SOAP::HTTPDaemon and a couple of other things

Anton Berezin tobez at tobez.org
Thu Feb 4 11:50:09 GMT 2010


On Thu, Feb 04, 2010 at 12:16:34PM +0100, Anton Berezin wrote:

> Another things I noticed, which is true with and without backgrounding.  The
> daemon process dies after some time on its own:
> 
> [2]    11799 alarm      perl xi2mras.pl
> note_report: perl xi2mras.pl completed in 40 seconds
> 
> Any idea what's this about?

Looks like (at least when I am using plain Net::Server), immediately after
processing first request, the loop in process_request() is entered again (no
idea why), and $connection->get_request returns false, so the loop is exited
via "last", without removing the alarm.

Regardless of why it happens, it looks wrong to not disarm the alarm in this
situation.

\Anton.
-- 
Matters of elegance ought to be left to the tailor and to the cobbler.
  -- L. Boltzmann



More information about the Xml-compile mailing list