Skip to content

Randomly frozen while downloading files #947

Discussion options

You must be logged in to vote

@scruel I'm not seeing that reproduce. Perhaps you were being throttled by the server and ending up with a slow download.
Note that timeout=120 will set the connect and socket timeouts - it's not an overall response timeout.

self._sock.settimeout(timeout)
return self._sock.recv(max_bytes)

An overall response timeout would be a great feature, and we're looking into it... encode/httpx#1450

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jokerpwn
Comment options

@scruel
Comment options

@tomchristie
Comment options

@tomchristie
Comment options

Answer selected by tomchristie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants