aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-12-30 20:06:42 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-01-02 16:57:16 -0700
commit611a1fdd6df81a95a74162a0ebdd5afba94d29d4 (patch)
tree7ce072a7c78bafe6c795cded942a9a32b3169e40 /src/codegen
parentb3c8c383bbba05d9a9d28073e8e8ceba3f089ae8 (diff)
downloadzig-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 'src/codegen')
0 files changed, 0 insertions, 0 deletions