http://repo.or.cz/w/elinks/miciah.git?a=shortlog;h=refs/heads/miciah/heartbeat
has a patch for this, using SIGVTALRM instead of SIGALRM
(which is not how the ecmascript.max_exec_time is documented
but should catch runaway scripts all the same).
I haven't tested it.
pgpHSHmaskgxp.pgp
Description:
We discussed this in IRC on 2009-07-18.
I think the plan was something like:
* Don't add threads.
* Use SIGALRM for both JS_TriggerOperationCallback and the
select() race, with the same signal handler function.
* Add a global variable that lists the scripts being evaluated.
Each element of
2 matches
Mail list logo