From 8c88b857a92d562b271a8aece70dc9a453d25f37 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 1dc384424..6b9b6a738 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