# std.http.BodyWriter: fix end of transfer-encoding chunked · gitcafe/zig

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

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

Visibility: public

Requested revision: af7721d20fc2330c0f4e7aa42df606254b06516f

Requested commit: af7721d20fc2330c0f4e7aa42df606254b06516f

Commit: af7721d20fc2330c0f4e7aa42df606254b06516f

Tree: b85f84dace797c7fc370ed1cb43f93b3c3d338cd

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.http.BodyWriter: fix end of transfer-encoding chunked

Looks like chunked transfers are supposed to always end with a length
zero chunk. This bug exists on master branch as well.

```

## Parents

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

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