summaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-04-28 13:10:04 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-05-18 08:57:17 +0200
commit7957d2eb927da90d817c7d1680b5486e00fec711 (patch)
tree918d2bd822a85456a69808d1797f15f5441c379b /lib/http.h
parent47caff7bdf8b2a47e6d7110eab0192981390ea21 (diff)
downloadcurl-7957d2eb927da90d817c7d1680b5486e00fec711.tar.gz
http: a stream hash for h2 multiplexing
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/http.h b/lib/http.h
index fb924c609..1fa85f76b 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -191,6 +191,9 @@ struct http_conn {
size_t upload_len; /* size of the buffer 'upload_mem' points to */
size_t upload_left; /* number of bytes left to upload */
int status_code; /* HTTP status code */
+
+ /* this is a hash of all individual streams (SessionHandle structs) */
+ struct curl_hash streamsh;
#else
int unused; /* prevent a compiler warning */
#endif