Welcome Guest Search | Active Topics | Sign In | Register

HTMLtoPDF.Convert* function cancellation Token Support (or at least Timeout) Options
CWoods
Posted: Wednesday, March 11, 2026 1:17:07 PM
Rank: Advanced Member
Groups: Member

Joined: 7/14/2014
Posts: 41
While there is the option to specify a load timeout for HtmlToPdf.ConvertUrl/ConvertHtml functions, there currently appears to be no way to limit the overall conversion time. For very large or complex documents, this can result in a long running blocking function calls, with no way to cleanly abort the conversion - potentially making systems non-responsive (and likely in the case of web based invocations the calling client would have timed out long before and would not be listening to receive response if it ever completes). It would therefore be extremely helpful if HtmlToPdf.ConvertUrl/ConvertHtml functions (and new Async wrappers) would be extended to support CancelationToken (or at least a Conversion Timeout) in order to signal an abort and have EO.PDF do so in a clean fashion.
eo_support
Posted: Wednesday, March 11, 2026 1:20:41 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,478
This is a great suggestion. We will look into this and see what we can do.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.