From 845ddb43da8aa2a8c80a9d9638d63386ddf97d7e Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 28 Aug 2016 20:32:55 -0400 Subject: add content-length handling and partial chunked transfer-encoding support (still need footers and compression) --- header-value-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'header-value-parser.c') diff --git a/header-value-parser.c b/header-value-parser.c index 2a1bf74..e3c4107 100644 --- a/header-value-parser.c +++ b/header-value-parser.c @@ -128,7 +128,7 @@ fhp_header_value_parser_done(fhp_ctx_t * const ctx) { switch (ctx->body_type) { case FHP_BODY_TYPE_NONE: // set body type - ctx->body_type = FHP_BODY_TYPE_TRANSFER_ENCODING; + ctx->body_type = FHP_BODY_TYPE_CONTENT_LENGTH; break; case FHP_BODY_TYPE_CONTENT_LENGTH: -- cgit v1.2.3