mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
save the http request for spdy later on
This commit is contained in:
parent
4fb8a13f1b
commit
a025f0fa8e
@ -50,6 +50,7 @@ struct spdy_stream {
|
||||
u_int8_t flags;
|
||||
u_int8_t prio;
|
||||
|
||||
void *httpreq;
|
||||
struct spdy_header_block *hblock;
|
||||
|
||||
TAILQ_ENTRY(spdy_stream) list;
|
||||
|
@ -374,7 +374,8 @@ spdy_ctrl_frame_syn_stream(struct netbuf *nb)
|
||||
GET_HEADER(":path", &path);
|
||||
GET_HEADER(":method", &method);
|
||||
GET_HEADER(":host", &host);
|
||||
if (!http_request_new(c, s, host, method, path, NULL)) {
|
||||
if (!http_request_new(c, s, host, method, path,
|
||||
(struct http_request **)&(s->httpreq))) {
|
||||
free(s->hblock->header_block);
|
||||
free(s->hblock);
|
||||
free(s);
|
||||
|
Loading…
x
Reference in New Issue
Block a user