kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 0413de6a8fc05cb4694c1bcbd094d46ed0c12dc9
parent b27322933b426ce7fd7dd89eb5a5c5f5c7d62424
Author: Joris Vink <joris@coders.se>
Date:   Tue,  5 Aug 2014 14:17:23 +0200

fatal if the return value from a page handler isn't what we want.

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

diff --git a/src/http.c b/src/http.c @@ -272,6 +272,8 @@ http_process_request(struct http_request *req, int retry_only) break; case KORE_RESULT_RETRY: return; + default: + fatal("A page handler returned an unknown result: %d", r); } if (hdlr != NULL && hdlr->dom->accesslog != -1)