Bad array indexing is considered deadly
Nick Sabalausky (Abscissa) via Digitalmars-d
digitalmars-d at puremagic.com
Wed May 31 09:59:08 PDT 2017
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.
More information about the Digitalmars-d
mailing list