diff options
author | David Timber <mieabby@gmail.com> | 2020-09-09 11:32:53 +0930 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2020-09-09 11:32:53 +0930 |
commit | bb797b9a405090d69cae75d2ef76cb797449886c (patch) | |
tree | 6295a296fe0feb5f634e5c7ea76fb35b64c65766 /src | |
parent | 192388b2c5dfe5df6f0d2654a6705778a6c9d90c (diff) |
Add missing shutdown() call @htbt
Diffstat (limited to 'src')
-rw-r--r-- | src/htbt.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1590,6 +1590,7 @@ static void htbt_main_slv_cleanup_f (void *ioctx, pth_event_t ev) { mbedtls_ssl_close_notify, ctx->fd, ev); + shutdown(ctx->fd, SHUT_RDWR); } static ssize_t htbt_main_slv_read_f ( |