http2: convert HEADER frames to HTTP1-like headers

... and then go through the "normal" HTTP engine.
This commit is contained in:
Daniel Stenberg 2014-01-30 15:58:07 +01:00
parent 93f473c78a
commit a7affd637f
2 changed files with 21 additions and 15 deletions

View file

@ -156,7 +156,7 @@ struct http_conn {
uint8_t binsettings[H2_BINSETTINGS_LEN];
size_t binlen; /* length of the binsettings data */
char *mem; /* points to a buffer in memory to store or read from */
size_t size; /* size of the buffer 'mem' points to */
size_t len; /* size of the buffer 'mem' points to */
ssize_t nread; /* how much data that was sent/recv by the HTTP2 engine */
#else
int unused; /* prevent a compiler warning */