# std.crypto.tls.Client: fix eof logic · gitcafe/zig

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

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

Visibility: public

Requested revision: 05fee3b22b593c6b0829499b53f26f5750df3645

Requested commit: 05fee3b22b593c6b0829499b53f26f5750df3645

Commit: 05fee3b22b593c6b0829499b53f26f5750df3645

Tree: 7932bddde29fead3aae19c7ea5f078be2d70f3e0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.crypto.tls.Client: fix eof logic

Before this, it incorrectly returned true when there was still cleartext
to be read.

```

## Parents

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

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