From ce2b77031073d2f9354abedee17e27b33c59ff15 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 8 Jun 2020 09:45:07 +0200 Subject: fixup use the correct FIN flag --- 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 2acdb477d..5a87a29be 100644 --- a/lib/vquic/ngtcp2.c +++ b/lib/vquic/ngtcp2.c @@ -1795,7 +1795,7 @@ static CURLcode ng_flush_egress(struct connectdata *conn, int sockfd, } else if(veccnt > 0) { uint32_t flags = NGTCP2_WRITE_STREAM_FLAG_MORE | - (fin ? NGTCP2_STREAM_DATA_FLAG_FIN : 0); + (fin ? NGTCP2_WRITE_STREAM_FLAG_FIN : 0); outlen = ngtcp2_conn_writev_stream(qs->qconn, &ps.path, out, pktlen, &ndatalen, -- cgit v1.2.1