aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2020-08-20 16:45:48 +0300
committerVladimir Homutov <vl@nginx.com>2020-08-20 16:45:48 +0300
commit51b4d208d6a53f588cfab9dd916c229abc1da784 (patch)
tree7abe9c01ed9d89cb4c2f068da192919a3396a0b8 /src
parent4ecea6cbedb723d2edbed9a3178bcbc603c6b108 (diff)
downloadnginx-51b4d208d6a53f588cfab9dd916c229abc1da784.tar.gz
nginx-51b4d208d6a53f588cfab9dd916c229abc1da784.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/event/ngx_event_quic.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c
index 9930a909d..b410cb0e0 100644
--- 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_buf_t *b)
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 *c, ngx_quic_frames_stream_t *fs,
"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;