Re: [libmicrohttpd] Using MHD_stop_daemon with signal() or elsewhere?

2022-01-25 Thread Evgeny Grin
On 24.01.2022 22:16, Gavin Henry wrote: Using graceful closure is one of the vital thing for correct implementation of any application. Understood. Of course you *must* call MHD_stop_daemon() as it stops MHD threads, free memory, closes sockets, and does other cleanups. Thanks. I understa

Re: [libmicrohttpd] Using MHD_stop_daemon with signal() or elsewhere?

2022-01-25 Thread Gavin Henry
> On 24.01.2022 22:16, Gavin Henry wrote: > >> Using graceful closure is one of the vital thing for correct > >> implementation of any application. > > > > Understood. > > > >> Of course you *must* call MHD_stop_daemon() as it stops MHD threads, > >> free memory, closes sockets, and does other clea

Re: [libmicrohttpd] Using MHD_stop_daemon with signal() or elsewhere?

2022-01-25 Thread Gavin Henry
> > On 24.01.2022 22:16, Gavin Henry wrote: > > >> Using graceful closure is one of the vital thing for correct > > >> implementation of any application. > > > > > > Understood. > > > > > >> Of course you *must* call MHD_stop_daemon() as it stops MHD threads, > > >> free memory, closes sockets, and