From 616d8e97ce99e44dfa4b72a51159c792efef94d0 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Tue, 6 Oct 2020 13:55:39 +0100 Subject: [PATCH] h1: explicitly close when post txn completes https://github.com/warmcat/libwebsockets/issues/2072 --- lib/roles/h1/ops-h1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/roles/h1/ops-h1.c b/lib/roles/h1/ops-h1.c index a6be76031..cec04f138 100644 --- a/lib/roles/h1/ops-h1.c +++ b/lib/roles/h1/ops-h1.c @@ -203,7 +203,7 @@ postbody_completion: */ if (lws_http_transaction_completed(wsi)) - return -1; + goto bail; break; } #endif