Re: Sample code for IPC in modules

2004-05-05 Thread Mark Wolgemuth
(see note on hup cleanup below) On May 5, 2004, at 2:51 AM, Sander Temme wrote: Hi Mark, Thanks for your observations. On May 4, 2004, at 7:18 PM, mark wrote: 2) Dettach is never needed. However, depending on desired results, it is usually desireable to perform a destroy when a HUP signal is se

Re: Sample code for IPC in modules

2004-05-05 Thread Geoffrey Young
> I put the new version at > to save on e-mail bandwidth. if you're interested in this kind of thing, I've wrapped up mod_example_ipc in an Apache-Test tarball: http://perl.apache.org/~geoff/mod_example-ipc.tar.gz for no particular reason except

Re: Sample code for IPC in modules

2004-05-04 Thread Sander Temme
Hi Mark, Thanks for your observations. On May 4, 2004, at 7:18 PM, mark wrote: Your attach logic should work, however it raises privilege issues because the children run as a different user (nobody or www, etc) the than the process running the create (root). I had problems when I was doing it

Re: Sample code for IPC in modules

2004-05-04 Thread mark
On May 4, 2004, at 8:49 PM, Sander Temme wrote: Hi all, Following some questions on the apache-modules list, I whipped up a quick module for Apache 2.0 to hopefully demonstrate how it's done. I'm including the module code below: please tell me whether I'm smoking crack before I post this on ap

Sample code for IPC in modules

2004-05-04 Thread Sander Temme
Hi all, Following some questions on the apache-modules list, I whipped up a quick module for Apache 2.0 to hopefully demonstrate how it's done. I'm including the module code below: please tell me whether I'm smoking crack before I post this on apache-modules. Thanks for your thoughts, Sander