Issue: Parsing or reading from an InputStream on Java 21+ virtual threads pins the carrier thread
Issue: Parsing or reading from an InputStream on Java 21+ virtual threads pins the carrier thread: a task in LegoFlow-SWE (Harbor dataset). When Jsoup.parse(InputStream, ...) is called, or when response body streams are consumed via connection methods, the library wraps the incoming stream in a…
The task
When `Jsoup.parse(InputStream, ...)` is called, or when response body streams are consumed via connection methods, the library wraps the incoming stream in a constrained input stream that enforces limits such as maximum read size and read timeouts. On Java 21 and later, when this happens on a virtual thread, the…
Part of Lego-X/LegoFlow-SWE.