29 Sep
2019
29 Sep
'19
10:57 a.m.
On 9/26/19 8:52 AM, Martijn Otto via Boost-users wrote:
Now I want to be able to load a new certificate without restarting the process (minimizing downtime). For this I have implemented a signal handler listening to SIGUSR1. This handler constructs a new ssl context and then move-assigns it to the ssl context variable in the main function.
Please notice that only syscalls marked as async-signal-safe may be used within a signal handler. Memory allocation is not async-signal-safe.