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.
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)) {
"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;