diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-06-12 23:38:09 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-06-12 23:38:09 +0200 |
commit | d5d98c1297dd7ed2c6d649e064ad694823829076 (patch) | |
tree | acabd0eb228c8239f5972bb2f9b84c9ba78064cb | |
parent | 1b478d6ac34590189e5f5a6240bf77d634034bcf (diff) |
http2: avoid segfault when usint the plain-text http2
This regression was introduced when *init was split into *init and
*setup...
-rw-r--r-- | lib/http2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http2.c b/lib/http2.c index 1e6e07d78..7fc8bd94f 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -482,6 +482,7 @@ CURLcode Curl_http2_request_upgrade(Curl_send_buffer *req, uint8_t *binsettings = conn->proto.httpc.binsettings; Curl_http2_init(conn); + Curl_http2_setup(conn); /* As long as we have a fixed set of settings, we don't have to dynamically * figure out the base64 strings since it'll always be the same. However, |