warmcat/libwebsockets — pull request #154 by andrew-canaday (2014-08-06 19:44:15+00:00)
Title: Reset hdr_parsing_completed for WSI_STATE_HTTP:

This fixes a bug where a client issues two GET requests on the same connection
(keep-alive). If the second request is split into two reads, the
hdr_parsing_complete flag gets us into trouble by ending the request read two
early and giving us bogus data.

(Re-issued pull request from a fresh branch).