quiche: fix lookup of transfer at multi
- refs #11449 where weirdness in quiche multi connection tranfers was observed - fixes lookup of transfer for a quiche event to take the connection into account - formerly, a transfer with the same stream_id, but on another connection could be found Closes #11462
This commit is contained in:
parent
8edfdf9cf1
commit
3b4ecdd0a8
@ -329,7 +329,7 @@ static struct Curl_easy *get_stream_easy(struct Curl_cfilter *cf,
|
|||||||
else {
|
else {
|
||||||
DEBUGASSERT(data->multi);
|
DEBUGASSERT(data->multi);
|
||||||
for(sdata = data->multi->easyp; sdata; sdata = sdata->next) {
|
for(sdata = data->multi->easyp; sdata; sdata = sdata->next) {
|
||||||
if(H3_STREAM_ID(sdata) == stream3_id) {
|
if((sdata->conn == data->conn) && H3_STREAM_ID(sdata) == stream3_id) {
|
||||||
return sdata;
|
return sdata;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user