Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Fix[DownloadUtils]: Set Read Timeout Duration#6504

Merged
Mathias-Boulay merged 2 commits intoPojavLauncherTeam:v3_openjdkfrom
MovTery:fix/download_time_out
Apr 18, 2025
Merged

Fix[DownloadUtils]: Set Read Timeout Duration#6504
Mathias-Boulay merged 2 commits intoPojavLauncherTeam:v3_openjdkfrom
MovTery:fix/download_time_out

Conversation

@MovTery
Copy link
Contributor

@MovTery MovTery commented Jan 19, 2025

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.

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.
@crystall1nedev
Copy link
Member

Looks good to me, not sure why this wasn't already handled properly.

Copy link
Contributor

@Mathias-Boulay Mathias-Boulay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SocketTimeoutException inherits IOException, so it is already covered by the catch clause.

@MovTery MovTery requested a review from Mathias-Boulay April 17, 2025 08:09
@Mathias-Boulay Mathias-Boulay merged commit 6eb830b into PojavLauncherTeam:v3_openjdk Apr 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants