]> git.ipfire.org Git - thirdparty/curl.git/commit
http2: Curl_http2_setup needs to init stream data in all invokes
authorDaniel Stenberg <daniel@haxx.se>
Fri, 10 Sep 2021 09:39:22 +0000 (11:39 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 11 Sep 2021 21:01:23 +0000 (23:01 +0200)
commit3cb8a748670ab88c261e0032605105e2db879317
tree8909f3eb79a04c52ec742a537aaf575531e08d7c
parente41e1b2a4d96cef619e68b5235844b074c2001bc
http2: Curl_http2_setup needs to init stream data in all invokes

Thus function was written to avoid doing multiple connection data
initializations, which is fine, but since it also initiates stream
related data it is crucial that it doesn't skip those even if called
again for the same connection. Solved by moving the stream
initializations before the "doing-it-again" check.

Reported-by: Inho Oh
Fixes #7630
Closes #7692
lib/http2.c