# std.http: fix parseTrailers \(transfer-encoding: chunked\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 97c7d6e5b386ab3c0cb394cae02e116b7a7a0955

Requested commit: 97c7d6e5b386ab3c0cb394cae02e116b7a7a0955

Commit: 97c7d6e5b386ab3c0cb394cae02e116b7a7a0955

Tree: 555b539f7ca5b6585b0e082e3bea7c020c13451a

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.http: fix parseTrailers (transfer-encoding: chunked)

It needs to detect \r\n as end of stream rather than trying to check the
next byte.

```

## Parents

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

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