From e1c4626dc792f9ff0fa1916e5445157f30de1db5 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Fri, 26 Aug 2016 21:51:32 -0400 Subject: set state after header value --- fhp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fhp.c') diff --git a/fhp.c b/fhp.c index 237345b..428fc38 100644 --- a/fhp.c +++ b/fhp.c @@ -550,6 +550,9 @@ retry: if (!fhp_buf_push(fhp, FHP_TOKEN_HEADER_NAME_FRAGMENT, byte)) return FHP_ERR_CB; + // set state + fhp->state = FHP_STATE_HEADER_NAME; + break; case '\r': // flush buffer -- cgit v1.2.3