aboutsummaryrefslogtreecommitdiff
path: root/lib/roles/h1
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2020-10-06 13:55:39 +0100
committerAndy Green <andy@warmcat.com>2020-10-06 13:56:45 +0100
commit8c88b857a92d562b271a8aece70dc9a453d25f37 (patch)
treedd9876b7f4422b72311a70de9720fc04ff128ea3 /lib/roles/h1
parent89f4b739e1c70b84697ffefc7c4c27d02112a6ec (diff)
downloadlibwebsockets-8c88b857a92d562b271a8aece70dc9a453d25f37.tar.gz
h1: explicitly close when post txn completes
https://github.com/warmcat/libwebsockets/issues/2072
Diffstat (limited to 'lib/roles/h1')
-rw-r--r--lib/roles/h1/ops-h1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/roles/h1/ops-h1.c b/lib/roles/h1/ops-h1.c
index 1dc38442..6b9b6a73 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