diff options
author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2014-02-04 14:57:29 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-02-04 14:57:29 +0100 |
commit | 0ea9f70049ef69265760fa2925c34cd48a804437 (patch) | |
tree | 238b011a3cea08eab16df3da8a3e6f4907ff27d8 /lib/http.h | |
parent | 4082dc9de660894c0ebf323e3bf43c851583a63f (diff) | |
download | curl-0ea9f70049ef69265760fa2925c34cd48a804437.tar.gz |
http2: handle incoming data larger than remaining buffer
Diffstat (limited to 'lib/http.h')
-rw-r--r-- | lib/http.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/http.h b/lib/http.h index 7ce803cdb..db322bf96 100644 --- a/lib/http.h +++ b/lib/http.h @@ -168,6 +168,10 @@ struct http_conn { size_t nread_header_recvbuf; /* number of bytes in header_recvbuf fed into upper layer */ int32_t stream_id; /* stream we are interested in */ + const uint8_t *data; /* pointer to data chunk, received in + on_data_chunk */ + size_t datalen; /* the number of bytes left in data */ + char *inbuf; /* buffer to receive data from underlying socket */ #else int unused; /* prevent a compiler warning */ #endif |