danfickle / neoflyingsaucer

[Deprecated - Please use openhtmltopdf at link] An attempt to modernize flyingsaucer, the HTML and CSS 2.1 renderer in pure Java
https://github.com/danfickle/openhtmltopdf
Other
38 stars 12 forks source link

Put cancel opportunities throughout the core. #46

Closed danfickle closed 9 years ago

danfickle commented 9 years ago

This will allow users of the library to cancel on thread interrupt or timeout.

danfickle commented 9 years ago

Done. It's not a perfect method of fixing endless loops but should dramatically reduce the number of exploitable endless loops (or even accidental).