From 4b40730b18959709be38eaad06ef2cb0088b9dd5 Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Fri, 3 Apr 2020 09:53:51 +0300 Subject: [PATCH] Fixed missing propagation of need_ack flag from frames to packet. --- src/event/ngx_event_quic.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index 3c1097455..9cb26261e 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -1657,6 +1657,10 @@ ngx_quic_send_frames(ngx_connection_t *c, ngx_queue_t *frames) return NGX_ERROR; } + if (f->need_ack) { + pkt.need_ack = 1; + } + p += len; f->pnum = ns->pnum; }