diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2016-12-10 13:54:59 +0000 |
---|---|---|
committer | Alessandro Ghedini <alessandro@ghedini.me> | 2017-01-15 11:45:32 +0000 |
commit | 9ad034e5a1b2d42acfdbea184736066782c6c635 (patch) | |
tree | d3a06a8b483097ab4b8f6e4f79f8b882e3ba6d50 /lib/http.h | |
parent | 02ee3b2737474ac34cea17f4a7505c2a6dfb4c56 (diff) | |
download | curl-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.h | 4 |
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 |