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 e428886e16c18671b94f25840915f65532c341d8
parent 966ba3352e61efb34f5807db92292de8ad4d1538
Author: Joris Vink <joris@coders.se>
Date:   Fri, 31 May 2013 13:30:51 +0200

decrement the worker load on HTTP_REQUEST_DELETE

Diffstat:
src/kore.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/kore.c b/src/kore.c @@ -557,6 +557,7 @@ kore_worker_entry(void *arg) req = next) { next = TAILQ_NEXT(req, list); if (req->flags & HTTP_REQUEST_DELETE) { + kw->load--; TAILQ_REMOVE(&(kw->requests), req, list); http_request_free(req); continue;