1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

http2: avoid segfault when usint the plain-text http2

This regression was introduced when *init was split into *init and
*setup...
This commit is contained in:
Daniel Stenberg 2014-06-12 23:38:09 +02:00
parent 1b478d6ac3
commit d5d98c1297

View File

@ -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,