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 6e6b04238805065211fe7688927d41123170e45d
parent 8565b47800e61e5aa28fef5eae99e9efdf925c46
Author: Joris Vink <joris@coders.se>
Date:   Fri, 15 Aug 2014 12:39:31 +0200

Add KORE_PGSQL_STATE_WAIT to our example

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

diff --git a/examples/pgsql/src/pgsql.c b/examples/pgsql/src/pgsql.c @@ -131,6 +131,8 @@ request_db_wait(struct http_request *req) * given us something, check the state to figure out what. */ switch (state->sql.state) { + case KORE_PGSQL_STATE_WAIT: + return (HTTP_STATUS_RETRY); case KORE_PGSQL_STATE_COMPLETE: req->fsm_state = REQ_STATE_DONE; break;