aboutsummaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h4
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