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);
|
(void)Curl_close(second);
|
||||||
second = NULL;
|
second = NULL;
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
Curl_http2_setup_req(second);
|
Curl_http2_setup_req(second);
|
||||||
|
second->state.stream_weight = data->state.stream_weight;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return second;
|
return second;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user