From ae8b11aa835f3fd2698b72cab5a4ab1c29a90fd4 Mon Sep 17 00:00:00 2001 From: Jed Lu Date: Wed, 26 May 2021 13:56:51 +0100 Subject: [PATCH] ss: do not restrict close handling to WITH_SERVER --- lib/core-net/close.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core-net/close.c b/lib/core-net/close.c index fce5bb2d6..6e66d5592 100644 --- a/lib/core-net/close.c +++ b/lib/core-net/close.c @@ -729,7 +729,7 @@ just_kill_connection: async_close: #endif -#if defined(LWS_WITH_SECURE_STREAMS) && defined(LWS_WITH_SERVER) +#if defined(LWS_WITH_SECURE_STREAMS) if (wsi->for_ss) { lwsl_debug("%s: for_ss\n", __func__); /*