quiche: when ingress processing fails, return that error code

Instead of a general CURLE_RECV_ERROR.

Reported in Joshua's sarif data

Closes #18730
This commit is contained in:
Stefan Eissing 2025-09-25 13:17:48 +02:00 committed by Daniel Stenberg
parent dec661c81c
commit 771dd9d9e7
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -865,9 +865,9 @@ static CURLcode cf_quiche_recv(struct Curl_cfilter *cf, struct Curl_easy *data,
goto out;
}
if(cf_process_ingress(cf, data)) {
result = cf_process_ingress(cf, data);
if(result) {
CURL_TRC_CF(data, cf, "cf_recv, error on ingress");
result = CURLE_RECV_ERROR;
goto out;
}