[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Preventing DOS when executing Lua code ...
- From: Lisa Parratt <lisa@...>
- Date: Mon, 03 Jul 2006 10:07:17 +0100
Gerald Gutierrez wrote:
I'm trying to avoid a potential denial of service situation with the
execution of Lua code where a user can enter code that takes a long time
to run, thereby hanging the interpreter. Proving to be more difficult
than it seems.
Run the interpreter in it's own thread, and simply kill the thread if it
takes too long?