aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2020-09-09 11:32:53 +0930
committerDavid Timber <mieabby@gmail.com>2020-09-09 11:32:53 +0930
commitbb797b9a405090d69cae75d2ef76cb797449886c (patch)
tree6295a296fe0feb5f634e5c7ea76fb35b64c65766 /src
parent192388b2c5dfe5df6f0d2654a6705778a6c9d90c (diff)
Add missing shutdown() call @htbt
Diffstat (limited to 'src')
-rw-r--r--src/htbt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/htbt.c b/src/htbt.c
index 3311893..426f985 100644
--- a/src/htbt.c
+++ b/src/htbt.c
@@ -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 (