This repository was archived by the owner on Sep 23, 2025. It is now read-only.
Commit 6eb830b
authored
Fix(DownloadUtils): Set Read Timeout Duration (#6504)
* Fix[DownloadUtils]: Set Read Timeout Duration
Pojav has not set a timeout for downloading files, which results in situations where file downloads do not throw an exception or terminate even after timing out.
* Update DownloadUtils.java1 parent 42c1c98 commit 6eb830b
File tree
1 file changed
+7
-2
lines changed- app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils
1 file changed
+7
-2
lines changedLines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| 72 | + | |
| 73 | + | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
| |||
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| 88 | + | |
| 89 | + | |
84 | 90 | | |
85 | | - | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| |||
0 commit comments