# std.http: fix the http.Client.wait\(\) hanging when there is 1 more byte left · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/8dcb4a3dc44fcc90b43543b9a0603456eeb4c348)

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

Visibility: public

Requested revision: 8dcb4a3dc44fcc90b43543b9a0603456eeb4c348

Requested commit: 8dcb4a3dc44fcc90b43543b9a0603456eeb4c348

Commit: 8dcb4a3dc44fcc90b43543b9a0603456eeb4c348

Tree: bf700fad454ea6d0ad2dfd71ea81026ce4e5ca0e

Author: Ed Yu

Committer: Loris Cro

## Message

```
std.http: fix the http.Client.wait() hanging when there is 1 more byte left

```

## Parents

- [30ea7142743efa385dc19e0746c04bf42331477c](https://git.cafe/gitcafe/zig/commit/30ea7142743efa385dc19e0746c04bf42331477c?format=markdown)

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