From 26597a785ec2dd4e9ec9fb7d9765d2ee8779ee16 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 16 Nov 2023 05:13:06 +0000 Subject: Add -J and -j to the TLS tools to check for peer close_notify. Also, and more importantly, significantly rewrite stls_run() for better full-duplex support. This implementation isn't fully tested yet. Signed-off-by: Laurent Bercot --- src/tls/s6tls_prep_tlsdio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tls/s6tls_prep_tlsdio.c') diff --git a/src/tls/s6tls_prep_tlsdio.c b/src/tls/s6tls_prep_tlsdio.c index 73099bf..59cc536 100644 --- a/src/tls/s6tls_prep_tlsdio.c +++ b/src/tls/s6tls_prep_tlsdio.c @@ -26,6 +26,7 @@ void s6tls_prep_tlsdio (char const **argv, char *buf, int const *p, uint32_t opt buf[n++] = 0 ; } argv[m++] = options & 4 ? "-S" : "-s" ; + argv[m++] = options & 8 ? "-J" : "-j" ; if (options & 1) argv[m++] = options & 2 ? "-y" : "-Y" ; if (kimeout) -- cgit v1.3.1