From 3a499dd53de67cac2cd78c38346aea33e763e452 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 4 Jun 2018 07:15:39 +0800 Subject: [PATCH] client: pipelining needs ah reset at client transaction completed --- lib/roles/http/client/client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/roles/http/client/client.c b/lib/roles/http/client/client.c index 65269343f..c4a4172a2 100644 --- a/lib/roles/http/client/client.c +++ b/lib/roles/http/client/client.c @@ -580,6 +580,8 @@ lws_http_transaction_completed_client(struct lws *wsi) "queued client done"); } + _lws_header_table_reset(wsi->http.ah); + /* after the first one, they can only be coming from the queue */ wsi->transaction_from_pipeline_queue = 1; @@ -1230,4 +1232,4 @@ completed: return 0; } -#endif \ No newline at end of file +#endif