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 34f6d088fa060240e30e3a465669607492b8ef0f
parent 8d2327570ca1df12f19e4618f94ef22c2ad27450
Author: Joris Vink <joris@coders.se>
Date:   Wed, 14 Aug 2013 15:15:18 +0200

set cb_extra to NULL when req is allocated

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

diff --git a/src/http.c b/src/http.c @@ -65,6 +65,7 @@ http_request_new(struct connection *c, struct spdy_stream *s, char *host, req->owner = c; req->status = 0; req->stream = s; + req->cb_extra = NULL; req->post_data = NULL; kore_strlcpy(req->host, host, sizeof(req->host)); kore_strlcpy(req->path, path, sizeof(req->path));