Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Provide timeouts for reading from sockets #93

Merged
merged 3 commits into from
Sep 11, 2023
Merged

Fix: Provide timeouts for reading from sockets #93

merged 3 commits into from
Sep 11, 2023

Conversation

dragonmux
Copy link
Contributor

When Microsoft's CDNs are having a bad day, or when a user has limited bandwidth, the download process can stall and die permanently.

This PR allows xwin to recognise when this has happened and do something about it. Currently that's to fail gracefully, allowing the user to retry.

dragonmux and others added 2 commits September 11, 2023 13:14
When Microsoft's CDNs are having a bad day, or when a user has limited
bandwidth, the download process can stall and die permanently.
This change allows xwin to recognise when this has happened and do something about it.
@Jake-Shadle
Copy link
Owner

Jake-Shadle commented Sep 11, 2023

Sorry it took so long to get to this, I've changed it a little bit so that the user can specify the timeout value via the cmd line to avoid hardcoding, but set 60s to the default instead of infinite as 60s should be more than enough.

@Jake-Shadle Jake-Shadle merged commit 5c518c5 into Jake-Shadle:main Sep 11, 2023
8 checks passed
@dragonmux dragonmux deleted the fix/missing-timeouts branch September 11, 2023 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants