From: Stefan Eissing Date: Tue, 18 Jul 2023 15:37:58 +0000 (+0200) Subject: quiche: fix lookup of transfer at multi X-Git-Tag: curl-8_2_1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b4ecdd0a89a202592e9959321d6cc5ceaca238d;p=thirdparty%2Fcurl.git 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 --- diff --git a/lib/vquic/curl_quiche.c b/lib/vquic/curl_quiche.c index 2aa867085d..3ef1ea19f5 100644 --- a/lib/vquic/curl_quiche.c +++ b/lib/vquic/curl_quiche.c @@ -329,7 +329,7 @@ static struct Curl_easy *get_stream_easy(struct Curl_cfilter *cf, else { DEBUGASSERT(data->multi); 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; } }