[Cppcms-users] some graceful way to close the CppCMS app
Brought to you by:
artyom-beilis
From: Lee E. <lee...@gm...> - 2012-07-02 07:18:16
|
Hi All, Is there some gracefull way to close the CppCMS so that it will stop accepting new requests, finish handle the currently open requests and then close down with a given error code. In my situation i sometimes need to close the app change the configuration and then run it again. And i am looking for a gracefull way to perform that. (Yes i know that the embeded web server is not for production - but for my case i think it is the best option right now. I would have to bundle a webserver with my app anyway, so using this and configuring it to answer only localhost seems like a good enough option for now) -- -- lee Lee Elenbaas lee...@gm... |