On 05/31/2017 09:34 AM, Steven Schveighoffer wrote:
On 5/31/17 9:21 AM, H. S. Teoh via Digitalmars-d wrote:

Isn't it customary to have the webserver launched by a script that
restarts it whenever it crashes (after logging a message in an emergency
logfile)?  Not an ideal solution, I know, but at least it minimizes
downtime.

Yes, I can likely do this. This kills any existing connections being handled though, and is far far from ideal. It's also a hard crash, any operations such as writing DB data are killed mid-stream.

Plus, relying on that strikes me as a DoS attack vector.

Reply via email to