# reqwest_client: Allow configuring a per-read idle timeout \(\#61753\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 865318723ec45d1ef66ecf790a57e7dba2344061

Requested commit: 865318723ec45d1ef66ecf790a57e7dba2344061

Commit: 865318723ec45d1ef66ecf790a57e7dba2344061

Tree: aff73ed866f4ae73440a301bd0b3bbb1f46db4f7

Author: Conrad Irwin

Committer: GitHub

## Message

```
reqwest_client: Allow configuring a per-read idle timeout (#61753)

Long-lived streaming responses (LLM completions) can stall when the
socket goes silent but the connection is never closed, leaving a read
that never returns to hang the request indefinitely. Add an opt-in
read_timeout parameter.

Release Notes:

- N/A
```

## Parents

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

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