446Re: [soaplite] Daemon suicide
- Jun 6, 2001Paul Kulchenko wrote:
>Thanks! I did other thing: kill $$. Crude, but also works.
> Hi, J!
> > "Manmatao" is the message in the "die" instruction. Is that a
> > feature or
> > a bug? Should I kill it in a particular way? The server had been
> "die" is catched in SOAP processor to return Fault on client side, so
> you won't be able to 'die' this way. If you want to stop server, use
> die()/exit() on server side might cause a problem, because serverYep, that's exactly what I want. I'm using a daemon and several clients,
> didn't sent anything back yet (and already died), and client will be
> blocked and timeout will be raised. I'm not sure that's exactly what
> you want.
when one client finishes a common taks, it tells the daemon to, well, go
to hell, and then, when the other clients realize it's gone to hell,
they catch the error and die too. Well, it's a very crude way of
interprocess communication, but it's handy.
- << Previous post in topic