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 8c22f0f0048aab8c56a5fc5662c0e344af1d7f85
parent c9f39c9c9dacbcb16ac4405f3fce579001e9855b
Author: Joris Vink <joris@coders.se>
Date:   Sun, 27 Jul 2014 21:00:17 +0200

In http_request_free() remove the req from the owner connection.

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

diff --git a/src/http.c b/src/http.c @@ -306,6 +306,7 @@ http_request_free(struct http_request *req) kore_debug("http_request_free: %p->%p", req->owner, req); TAILQ_REMOVE(&http_requests, req, list); + TAILQ_REMOVE(&(req->owner->http_requests), req, olist); for (hdr = TAILQ_FIRST(&(req->resp_headers)); hdr != NULL; hdr = next) { next = TAILQ_NEXT(hdr, list);