diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-09-30 09:30:58 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-10-03 22:55:42 +0200 |
commit | 8a00560de2804fa8ab639c6e895ed3a7f1e75efc (patch) | |
tree | 191b93799f7f84f94dc8744f49d8eda8476c2807 /lib/url.c | |
parent | 02c6b984cb7a2e01f290544a53a24d30fc7ab32e (diff) | |
download | curl-8a00560de2804fa8ab639c6e895ed3a7f1e75efc.tar.gz |
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
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -619,8 +619,6 @@ CURLcode Curl_open(struct Curl_easy **curl) data->progress.flags |= PGRS_HIDE; data->state.current_speed = -1; /* init to negative == impossible */ - - Curl_http2_init_state(&data->state); } } |