[stunnel-users] service reconfiguration by SIGHUP (updated patch)

Matthew Eaton stunnel at divinehawk.com
Wed Dec 13 23:59:39 CET 2006


Here is an updated patch that hopefully resolves the polling issue. I
didn't know whether to use the signal_pipe to wake up the main loop
(since the other end of the signal_pipe isn't in the same scope), so I
just added a timeout (1 second) to the s_poll_wait.

Previous issue was that the configuration didn't get reloaded until the
main loop woke up (network activity / signal_pipe).

Regards,
Matthew



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stunnel-4.20-reload.patch
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20061213/1e78cd9e/attachment.ksh>


More information about the stunnel-users mailing list