kore

a fork of the worlds most advanced web framework
Log | Files | Refs | README | LICENSE

commit 47c1a1d195418047cb7ee35f60ae6c5b885e3c8f
parent 3e4b9f4fe80d930ec8c05ae43e70eefc1ddaad99
Author: Joris Vink <joris@coders.se>
Date:   Thu,  5 Jul 2018 05:02:49 +0000

set referer to NULL in http_request_new().

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

diff --git a/src/http.c b/src/http.c @@ -1386,6 +1386,7 @@ http_request_new(struct connection *c, const char *host, req->method = m; req->hdlr = hdlr; req->agent = NULL; + req->referer = NULL; req->flags = flags; req->fsm_state = 0; req->http_body = NULL;