diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-11-16 05:13:06 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2023-11-16 05:13:06 +0000 |
| commit | 26597a785ec2dd4e9ec9fb7d9765d2ee8779ee16 (patch) | |
| tree | c2c5602397e9381b1cb04472ed057edd4a00e520 /src/tls/s6tls_prep_tlscio.c | |
| parent | d8ca717da164c3e76ebb56c954d0a08544955601 (diff) | |
| download | s6-networking-26597a785ec2dd4e9ec9fb7d9765d2ee8779ee16.tar.gz | |
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 <ska@appnovation.com>
Diffstat (limited to 'src/tls/s6tls_prep_tlscio.c')
| -rw-r--r-- | src/tls/s6tls_prep_tlscio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tls/s6tls_prep_tlscio.c b/src/tls/s6tls_prep_tlscio.c index a3f33b0..0b7ff1f 100644 --- a/src/tls/s6tls_prep_tlscio.c +++ b/src/tls/s6tls_prep_tlscio.c @@ -26,6 +26,7 @@ void s6tls_prep_tlscio (char const **argv, char *buf, int const *p, uint32_t opt buf[n++] = 0 ; } argv[m++] = options & 4 ? "-S" : "-s" ; + argv[m++] = options & 2 ? "-J" : "-j" ; argv[m++] = options & 1 ? "-y" : "-Y" ; if (kimeout) { |
