]> git.ipfire.org Git - thirdparty/curl.git/commit
http2: move state-init from creation to pre-transfer
authorDaniel Stenberg <daniel@haxx.se>
Mon, 30 Sep 2019 07:30:58 +0000 (09:30 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 3 Oct 2019 20:55:42 +0000 (22:55 +0200)
commit8a00560de2804fa8ab639c6e895ed3a7f1e75efc
tree191b93799f7f84f94dc8744f49d8eda8476c2807
parent02c6b984cb7a2e01f290544a53a24d30fc7ab32e
http2: move state-init from creation to pre-transfer

To make sure that the HTTP/2 state is initialized correctly for
duplicated handles. It would otherwise easily generate "spurious"
PRIORITY frames to get sent over HTTP/2 connections when duplicated easy
handles were used.

Reported-by: Daniel Silverstone
Fixes #4303
Closes #4442
lib/http2.c
lib/transfer.c
lib/url.c