set referer to NULL in http_request_new().

This commit is contained in:
Joris Vink 2018-07-05 05:02:49 +00:00
parent 3e4b9f4fe8
commit 47c1a1d195
1 changed files with 1 additions and 0 deletions

View File

@ -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;