diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-12-30 20:06:42 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-01-02 16:57:16 -0700 |
| commit | 611a1fdd6df81a95a74162a0ebdd5afba94d29d4 (patch) | |
| tree | 7ce072a7c78bafe6c795cded942a9a32b3169e40 /lib/std/array_list.zig | |
| parent | b3c8c383bbba05d9a9d28073e8e8ceba3f089ae8 (diff) | |
| download | zig-611a1fdd6df81a95a74162a0ebdd5afba94d29d4.tar.gz zig-611a1fdd6df81a95a74162a0ebdd5afba94d29d4.zip | |
std.crypto.tls: add API for sending close_notify
This commit adds `writeEnd` and `writeAllEnd` in order to send data and
also notify the server that there will be no more data written.
Unfortunately, it seems most TLS implementations in the wild get this
wrong and immediately close the socket when they see a close_notify,
rather than only ending the data stream on the application layer.
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions
