mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
http2 push: set weight for new stream
give the new stream the old one's stream_weight internally to avoid sending a PRIORITY frame unless asked for it
This commit is contained in:
parent
a14fa8f8ff
commit
8cbd80686e
@ -310,8 +310,10 @@ static CURL *duphandle(struct SessionHandle *data)
|
||||
(void)Curl_close(second);
|
||||
second = NULL;
|
||||
}
|
||||
else
|
||||
else {
|
||||
Curl_http2_setup_req(second);
|
||||
second->state.stream_weight = data->state.stream_weight;
|
||||
}
|
||||
}
|
||||
}
|
||||
return second;
|
||||
|
Loading…
Reference in New Issue
Block a user