summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-06-08 09:45:07 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-06-08 09:45:07 +0200
commitce2b77031073d2f9354abedee17e27b33c59ff15 (patch)
tree50d7889c68f35a80df24f1ec3a1acd34b8938ed4
parent22f02b5b9852e46a2238f46829b230315190a04b (diff)
downloadcurl-bagder/ngtcp2-keep-up.tar.gz
fixup use the correct FIN flagbagder/ngtcp2-keep-up
-rw-r--r--lib/vquic/ngtcp2.c2
1 files changed, 1 insertions, 1 deletions
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,