1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00

client: pipelining needs ah reset at client transaction completed

This commit is contained in:
Andy Green 2018-06-04 07:15:39 +08:00
parent b63ffd9184
commit 3a499dd53d

View file

@ -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
#endif