Replace standard Java HTTP libraries with okHTTP (#237)

* Replace standard Java HTTP libraries with okHTTP
This commit is contained in:
Luis Uguina
2020-06-01 19:15:44 +10:00
committed by GitHub
parent cdf552f708
commit 4cf51013e6
5 changed files with 230 additions and 313 deletions

View File

@@ -685,6 +685,8 @@ import lombok.Data;
// must download the archive
int ret = this.server.HTTPGetFile(url, local_path, this.gui, update_ui);
// Try to check the download file even if a download error has occurred (MD5 file check will delete the file if partially downloaded)
boolean md5_check = this.checkFile(ajob, local_path, md5_server);
int attempts = 1;