summaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2016-12-10 13:54:59 +0000
committerAlessandro Ghedini <alessandro@ghedini.me>2017-01-15 11:45:32 +0000
commit9ad034e5a1b2d42acfdbea184736066782c6c635 (patch)
treed3a06a8b483097ab4b8f6e4f79f8b882e3ba6d50 /lib/http.h
parent02ee3b2737474ac34cea17f4a7505c2a6dfb4c56 (diff)
downloadcurl-9ad034e5a1b2d42acfdbea184736066782c6c635.tar.gz
http2: disable server push if not requested
Ref: https://github.com/curl/curl/pull/1160
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 9fb669c9d..7ce4bd9a0 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -219,6 +219,10 @@ struct http_conn {
/* this is a hash of all individual streams (Curl_easy structs) */
struct h2settings settings;
+
+ /* list of settings that will be sent */
+ nghttp2_settings_entry local_settings[3];
+ size_t local_settings_num;
#else
int unused; /* prevent a compiler warning */
#endif