AdoptOpenJDK / AdoptOpenJDK/IcedTea-Web

JAR cache does not retry downloading after error, user must manually run application again

オープン
#865 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
268
フォーク
96
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi,

I'm working with project witch use IceTea-web and found one problem.
Sometimes when between client and server is slow unstable connection there is problem with downloading jars to cache (in our case downloading is just interrupted and downloaded file is incomplete). User must run application many times to download all jars.

I think it is because this change :
https://github.com/AdoptOpenJDK/IcedTea-Web/pull/803/files
and this :
https://github.com/karakun/OpenWebStart/issues/401

So user run application. Jars are downloaded to cache and when error occurs, corrupted jar is deleted and user must run application once again.

Could we have some kind of retry mechanism maybe configured in icetea-web properties (retry on/off, retry times)
So when jar is not downloaded properly try to download it once again X times
I think logic for that is in `BaseResourceDownloader.tryDownloading` method

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。