Re: Parent/child choice in sslio

Charlie Brady <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <Pine.LNX.4.44.0405141009390.26798-100000@e-smith.charlieb.ott.istop.com>
On Fri, 14 May 2004, Gerrit Pape wrote:

> The sslio program runs as a child process of the actual service program
> (here: smtpfront-qmail), as documented in the sslio man page.  Your patch
> changes that and lets the service program run as a child process of sslio.
> Although the current behavior might confuse you as a developer, I think it
> less confuses users, because the tcpsvd or tcpserver logs don't change,
> e.g.:
...
> The pid announced by tcpsvd is the pid of the service program, and also
> the exit code is the one of the service program.  If this would be the
> sslio process, I think it would cause more confusion.  sslio follows the
> example of recordio here.

OK, makes sense now. The exit code could have been relayed via waiting for 
the child, but the pids wouldn't match.

Thanks

Charlie
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.