Hi, I am trying to convert this html file to pdf format and a hang occurs in this code. We had this is in a listener service and it caused an outage of that service. We have worked around it for now, but could you please advise or provide a fix in an upcoming release. example.html.zip (41.4 KB)
public ByteArrayOutputStream convert(InputStream inStream){
com.aspose.pdf.HtmlLoadOptions loadOptions = new com.aspose.pdf.HtmlLoadOptions();
com.aspose.pdf.Document doc = new com.aspose.pdf.Document(inStream, loadOptions);
doc.setFitWindow(true);
ByteArrayOutputStream dstStream = new ByteArrayOutputStream();
doc.save(dstStream);
doc.close();
return dstStream;
}