summaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-01-30 15:58:07 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-01-30 15:58:07 +0100
commita7affd637feca1a3b63d48ae580e93be2f002938 (patch)
tree7e5e097d0b5d00f281f7ca199d066a590a4a9380 /lib/http.h
parent93f473c78ade963f2c32ee51185cb450dc03a3b5 (diff)
downloadgnurl-a7affd637feca1a3b63d48ae580e93be2f002938.tar.gz
gnurl-a7affd637feca1a3b63d48ae580e93be2f002938.tar.bz2
gnurl-a7affd637feca1a3b63d48ae580e93be2f002938.zip
http2: convert HEADER frames to HTTP1-like headers
... and then go through the "normal" HTTP engine.
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.h b/lib/http.h
index 228e375eb..460e928be 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -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 */