Skip to content

verify: adds timeout to requests.get() calls#145

Open
timfeierabend wants to merge 1 commit intolinuxmint:masterfrom
timfeierabend:add-get-timeout
Open

verify: adds timeout to requests.get() calls#145
timfeierabend wants to merge 1 commit intolinuxmint:masterfrom
timfeierabend:add-get-timeout

Conversation

@timfeierabend
Copy link
Copy Markdown

By default, requests.get() has an indefinite timeout. If there is a upstream network disruption preventing access to the resource, the verify dialog becomes unresponsive when trying to verify an ISO because it waits forever to download the signatures and hashes.

In dual stack internet connections, the timeout is needed to retry with the ipv4 connection if there is a disruption on the initial ipv6 connection.

by default, requests.get() has an indefinite timeout. if there is a
upstream network disruption preventing access to the resource, the verify
dialog becomes unresponsive when trying to verify an ISO.
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.

1 participant