[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 12:14:53 GMT 2010


On Thu, Feb 04, 2010 at 01:10:49PM +0100, Anton Berezin wrote:
> On Thu, Feb 04, 2010 at 01:00:24PM +0100, Mark Overmeer wrote:
> > * Anton Berezin (tobez at tobez.org) [100204 11:50]:
> > > Looks like (at least when I am using plain Net::Server
> > 
> > You must always use an extension of Net::Server, f.i. N::S::PreFork
> 
> Well, ok.  But this is still wrong, on general principles:
> 
> 	{   alarm $timeleft;
> 		my $request  = $connection->get_request or last;
> 		alarm 0;
> 
> It should be:
> 
> 	{   alarm $timeleft;
> 		my $request  = $connection->get_request;
> 		alarm 0;
> 		last unless $request;

To add to that, the same problem is observed when I use Net::Server::Simple,
which at least in theory should be fine to use.

\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