I encountered an error if too many assets are loaded. On HTTP/2, loading more than a certain amount of assets at the same, the server might respond with an ERR_HTTP2_SERVER_REFUSED_STREAM error (e.g. IONOS provider).
I have mitigated the problem:
unless it's a 404, an asset is re-tried to be loaded
asset loading now in a Thread.
This seems to fix the problem. If an error is encountered, the downloader simply tries to re-download after a short pause of 100ms.
I encountered an error if too many assets are loaded. On HTTP/2, loading more than a certain amount of assets at the same, the server might respond with an
ERR_HTTP2_SERVER_REFUSED_STREAM
error (e.g. IONOS provider).I have mitigated the problem:
404
, an asset is re-tried to be loadedThread
.This seems to fix the problem. If an error is encountered, the downloader simply tries to re-download after a short pause of
100ms
.