comparison src/event/ngx_event_quic.c @ 8312:053fa468b044 quic

Fixed missing propagation of need_ack flag from frames to packet.
author Vladimir Homutov <vl@nginx.com>
date Fri, 03 Apr 2020 09:53:51 +0300
parents 6aceb85c5bed
children de8981bf2dd5
comparison
equal deleted inserted replaced
8311:6aceb85c5bed 8312:053fa468b044
1655 len = ngx_quic_create_frame(p, f); 1655 len = ngx_quic_create_frame(p, f);
1656 if (len == -1) { 1656 if (len == -1) {
1657 return NGX_ERROR; 1657 return NGX_ERROR;
1658 } 1658 }
1659 1659
1660 if (f->need_ack) {
1661 pkt.need_ack = 1;
1662 }
1663
1660 p += len; 1664 p += len;
1661 f->pnum = ns->pnum; 1665 f->pnum = ns->pnum;
1662 } 1666 }
1663 1667
1664 if (start->level == ssl_encryption_initial) { 1668 if (start->level == ssl_encryption_initial) {