Fixed missing propagation of need_ack flag from frames to packet.

This commit is contained in:
Vladimir Homutov 2020-04-03 09:53:51 +03:00
parent 58b439447e
commit 4b40730b18

View file

@ -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;
}