Fix processing of keep-alive requests when chunks are consumed

PUBLISHED_FROM=136ce2ed4f143d7ee246e5fd1078c431e205bb3a
This commit is contained in:
Deomid "rojer" Ryabkov authored and Cesanta Bot committed 2020-05-22 23:07:38 +00:00
1 parent 5867c67da2
commit 95fcb261eb
8 files changed
+265 -122

No files matched your search

@@ -29,6 +29,12 @@ signature: |
/* Headers */
struct mg_str header_names[MG_MAX_HTTP_HEADERS];
struct mg_str header_values[MG_MAX_HTTP_HEADERS];
/*
* Value of the Content-Length header if present,
* otherwise MG_HTTP_CONTENT_LENGTH_UNKNOWN.
*/
size_t content_length;
};
---