[Catalyst-dev] Re: Re: PATCH: refactor Catalyst::Engine::HTTP::Restarter to standalone module

Justin DeVuyst justin at devuyst.com
Mon Jul 23 04:32:50 GMT 2007


>> I suspect SIGUSR1 would work just fine; the 'authors' (mostly
>> Sebastian)
>> don't actually understand signal handling, I had to do quite a lot
>> of
>> cleanup work to make the child-related stuff sane.
>
> I continued to look at this issue tonight, and came up with a patch
> for
> HTTP::Server::Simple that uses simple signal handling. Unless there is
> a
> reason to allow restarting of the web server from remote machines
> (!!),
> switching to this kind of signal handling system does seem like a good
> solution.

There is one very good reason to not use signals and that's
portability.  As far as I know Win32 doesn't have signals.

-jdv




More information about the Catalyst-dev mailing list