]> git.kaiwu.me - nginx.git/commitdiff
Removed outdated TODO.
authorVladimir Homutov <vl@nginx.com>
Thu, 16 Apr 2020 10:28:43 +0000 (13:28 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 16 Apr 2020 10:28:43 +0000 (13:28 +0300)
If required, frame handler can invoke output itself.  There is no need to
call output directly in the payload handler, queuing is enough.

src/event/ngx_event_quic.c

index 696f329b826e51943f5914a7d1107f93b94a915d..34a51f71f08c147eca715a3ee27b5d018663c072 100644 (file)
@@ -1320,7 +1320,6 @@ ngx_quic_payload_handler(ngx_connection_t *c, ngx_quic_header_t *pkt)
     ngx_sprintf(ack_frame->info, "ACK for PN=%d from frame handler level=%d", pkt->pn, ack_frame->level);
     ngx_quic_queue_frame(qc, ack_frame);
 
-    // TODO: call output() after processing some special frames?
     return NGX_OK;
 }