mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Исправлена ошибка с отваливающимся соеденением по таймауту во время хеширования
This commit is contained in:
parent
3f887ef619
commit
7e5fafa159
1 changed files with 8 additions and 1 deletions
|
@ -303,9 +303,16 @@ public Integer getLegacyType() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected UpdateRequestEvent requestDo(HInput input, HOutput output) throws IOException, SignatureException {
|
public UpdateRequestEvent request() throws Exception {
|
||||||
Files.createDirectories(dir);
|
Files.createDirectories(dir);
|
||||||
localDir = new HashedDir(dir, matcher, false, digest);
|
localDir = new HashedDir(dir, matcher, false, digest);
|
||||||
|
|
||||||
|
// Start request
|
||||||
|
return super.request();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected UpdateRequestEvent requestDo(HInput input, HOutput output) throws IOException, SignatureException {
|
||||||
// Write update dir name
|
// Write update dir name
|
||||||
output.writeString(dirName, 255);
|
output.writeString(dirName, 255);
|
||||||
output.flush();
|
output.flush();
|
||||||
|
|
Loading…
Reference in a new issue