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 fd7f5470134676057bd997474ad8655976eb6005
parent 2cc6730cba1721b56d2b2964429dff8be1849c1d
Author: Joris Vink <joris@coders.se>
Date:   Wed, 23 Apr 2014 13:18:37 +0200

Fix accesslog under SPDY connections

Diffstat:
src/http.c | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/http.c b/src/http.c @@ -235,13 +235,11 @@ http_process_request(struct http_request *req, int retry_only) kore_connection_disconnect(req->owner); break; case KORE_RESULT_RETRY: - break; + return; } - if (r != KORE_RESULT_RETRY && !(req->flags & HTTP_REQUEST_DELETE)) { - kore_accesslog(req); - req->flags |= HTTP_REQUEST_DELETE; - } + kore_accesslog(req); + req->flags |= HTTP_REQUEST_DELETE; } void