From 0fd2f223dda30168bfa0e1a7b71ef29b21dc249d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 25 Jan 2021 22:28:01 +0900 Subject: fixup! ngtcp2: Fix http3 upload stall --- lib/vquic/ngtcp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c index 9f8cebf24..f8b338b3b 100644 --- a/lib/vquic/ngtcp2.c +++ b/lib/vquic/ngtcp2.c @@ -1838,7 +1838,7 @@ static CURLcode ng_flush_egress(struct Curl_easy *data, return CURLE_SEND_ERROR; } } - else if(ndatalen > 0) { + else if(ndatalen >= 0) { rv = nghttp3_conn_add_write_offset(qs->h3conn, stream_id, ndatalen); if(rv != 0) { failf(data, "nghttp3_conn_add_write_offset returned error: %s\n", -- cgit v1.2.1