mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-05-30 06:41:00 +02:00
As mentioned in https://nodejs.org/docs/latest-v20.x/api/http.html#httpgeturl-options-callback if a request results in an error, you still need to consume the data, or call `response.resume()`, or your code will hang waiting for the request to close.