# HG changeset patch # User Vladimir Homutov # Date 1597931148 -10800 # Node ID 0609ea17ca23bccf0a846d1791778f12901c597b # Parent fc89d02bdca2a678fa59bc945971c281e71a60c4 QUIC: removed outdated TODOs. The logical quic connection state is tested by handler functions that process corresponding types of packets (initial/handshake/application). The packet is declined if state is incorrect. No timeout is required for the input queue. diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -1578,7 +1578,6 @@ ngx_quic_input(ngx_connection_t *c, ngx_ return ngx_quic_retry_input(c, &pkt); } - /* TODO: check current state */ if (ngx_quic_long_pkt(pkt.flags)) { if (ngx_quic_pkt_in(pkt.flags)) { @@ -2830,8 +2829,6 @@ ngx_quic_buffer_frame(ngx_connection_t * "quic ordered frame with unexpected offset:" " buffered, total %ui", fs->total); - /* TODO: do we need some timeout for this queue ? */ - if (ngx_queue_empty(&fs->frames)) { ngx_queue_insert_after(&fs->frames, &dst->queue); return NGX_OK;