# remoting: Server download connect timeout \(\#44216\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c7ef3025e42c1e16f16011ee7330856be9438e67)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c7ef3025e42c1e16f16011ee7330856be9438e67

Requested commit: c7ef3025e42c1e16f16011ee7330856be9438e67

Commit: c7ef3025e42c1e16f16011ee7330856be9438e67

Tree: 632d0fafea3085a5bdf35a7228bb51f185b52510

Author: Agus Zubiaga

Committer: GitHub

## Message

```
remoting: Server download connect timeout (#44216)

Sometimes machines are configured to drop outbound packets (rather than
reject connections). In these cases, curl/wget just hang causing our
download step to never complete. This PR adds a timeout of 10s for the
connection (not the whole download), so that in situations like this we
can fallback to our client-side download eventually.

Related to but doesn't fully fix:
https://github.com/zed-industries/zed/issues/43694 and
https://github.com/zed-industries/zed/issues/43718

Release Notes:

- remote: Add 10s connect timeout for server download
```

## Parents

- [822fc7ef167e7a26358afe7f13d0b05b4df468eb](https://git.cafe/gitcafe/zed/commit/822fc7ef167e7a26358afe7f13d0b05b4df468eb?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c7ef3025e42c1e16f16011ee7330856be9438e67?format=markdown)
