Rodrigo Gallardo rodrigo@debian.org wrote:
if (!options.option.foreground) {
/* Detach from terminal. */
close(0);
close(1);
close(2);
}
Thank you. The functionality of this patch is implemented upstream. The next version of stunnel is scheduled to be released this week.
BTW: Checking for options.option.foreground is not required, as the libwrap helper process is not supposed to interact with stdin/stdout/stderr anyway.
Best regards, Mike