# std.http.Client: don't send TLS close_notify · gitcafe/zig

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

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

Visibility: public

Requested revision: 3127bd79fb8106c3fdf487486c686a0551c5efa8

Requested commit: 3127bd79fb8106c3fdf487486c686a0551c5efa8

Commit: 3127bd79fb8106c3fdf487486c686a0551c5efa8

Tree: a3a24020ea7716c387c4bc7e49b1280070743aa6

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.http.Client: don't send TLS close_notify

It appears to be implemented incorrectly in the wild and causes the read
connection to be closed even though that is a direct violation of RFC
8446 Section 6.1.

The writeEnd function variants are still there, ready to be used.

```

## Parents

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

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