projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b478d6
)
http2: avoid segfault when usint the plain-text http2
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 12 Jun 2014 21:38:09 +0000
(23:38 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 12 Jun 2014 21:38:09 +0000
(23:38 +0200)
This regression was introduced when *init was split into *init and
*setup...
lib/http2.c
patch
|
blob
|
history
diff --git
a/lib/http2.c
b/lib/http2.c
index 1e6e07d7837f4299258f82966f34ffd4ee518e8d..7fc8bd94f415b6fccd5f8748051e4c3aa545e288 100644
(file)
--- 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,