kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 4f36b534aa35d6e5f7cd705fa1c4e42b4fafdf96
parent 603e353eab69b7c1a93828511f45c30a483d67b5
Author: Joris Vink <joris@coders.se>
Date:   Fri,  8 May 2015 21:19:20 +0200

Reset fsm_state back to 0 after we're done with it.

Diffstat:
src/http.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/http.c b/src/http.c @@ -1069,7 +1069,9 @@ http_state_run(struct http_state *states, u_int8_t elm, } } + req->fsm_state = 0; kore_debug("http_state_run(%p): done", req); + return (KORE_RESULT_OK); }