[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] Using MHD_stop_daemon with signal() or elsewhere?
From: |
Gavin Henry |
Subject: |
Re: [libmicrohttpd] Using MHD_stop_daemon with signal() or elsewhere? |
Date: |
Tue, 25 Jan 2022 22:39:57 +0000 |
> > 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.
All of my books have big chapters on signal and cleaning up on
application. Not sure how I missed them. Thanks again for the strong
advice.
Gavin.