# http_client: Bound GitHub release requests \(\#62175\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 992c7d469c392c97b48710eab7776ff1850b1f7b

Requested commit: 992c7d469c392c97b48710eab7776ff1850b1f7b

Commit: 992c7d469c392c97b48710eab7776ff1850b1f7b

Tree: 63dcee097f5059a03942def3f1efac08a0ff35d6

Author: Vitaly Slobodin

Committer: GitHub

## Message

```
http_client: Bound GitHub release requests (#62175)

# Objective

- Stop language-server update checks from waiting forever.
**Note:** I tried to find any existing issue but no luck.

## Solution

- Set one time limit for the full response body. If the GitHub, for
example, release request stops responding, return an error. Do not let
it block language-server update checks without limit.

## Testing

- Did you test these changes? If so, how?

   1. This is a flaky issue, reproducing it is not that trivial.
2. The easiest way I found is just restarting Zed until you get the
notification in the status bar `Checking for updates
<language_server_naem>`

- Are there any parts that need more testing?

   No

- How can other people (reviewers) test your changes? Is there anything
specific they need to know?

   See above.

- If relevant, what platforms did you test these changes on, and are
there any important ones you can't test?

   - macOS
   - Linux

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

## Showcase

<img width="2624" height="2260" alt="CleanShot 2026-08-03 at 20 29
11@2x"
src="https://github.com/user-attachments/assets/83e2781c-15bc-4924-be33-88c26f20387d"
/>

---

Release Notes:

- Fixed language servers update checks
```

## Parents

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

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