forked from mirrors/kore
set cb_extra to NULL when req is allocated
This commit is contained in:
parent
8d2327570c
commit
34f6d088fa
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue