diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c index 7cf03fa341..ed1179d4dc 100644 --- a/lib/vquic/quiche.c +++ b/lib/vquic/quiche.c @@ -648,6 +648,11 @@ static ssize_t h3_stream_recv(struct Curl_easy *data, recvd += rcode; break; + case QUICHE_H3_EVENT_RESET: + streamclose(conn, "Stream reset"); + *curlcode = CURLE_PARTIAL_FILE; + return -1; + case QUICHE_H3_EVENT_FINISHED: streamclose(conn, "End of stream"); recvd = 0; /* end of stream */