diff options
author | Daniel Stenberg <daniel@haxx.se> | 2013-09-18 22:43:13 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-01-29 10:24:05 +0100 |
commit | 53940f883450d1976105677adda41696e5094602 (patch) | |
tree | e1f34d2502c216717decf301a9282c213812555d /lib/http.h | |
parent | 8d3608f2ad29bb65ce0926a45b46ff29902c279f (diff) | |
download | curl-53940f883450d1976105677adda41696e5094602.tar.gz |
http2: switch recv/send functions to http2 ones after 101
Diffstat (limited to 'lib/http.h')
-rw-r--r-- | lib/http.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/http.h b/lib/http.h index 82a7b5008..8d3f9d0d0 100644 --- a/lib/http.h +++ b/lib/http.h @@ -152,6 +152,9 @@ struct HTTP { struct http_conn { #ifdef USE_NGHTTP2 nghttp2_session *h2; + char *mem; /* points to a buffer in memory to store or read from */ + size_t size; /* 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 */ #endif |