Boost logo

Boost Users :

From: Bjorn Reese (breese_at_[hidden])
Date: 2019-09-29 10:57:01

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.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at