lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Gerald Gutierrez wrote:
Hello all,

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?

--
Lisa