[PATCH 4 of 8] QUIC: removed ngx_quic_shutdown_connection()

Sergey Kandaurov pluknet at nginx.com
Tue Aug 2 15:44:11 UTC 2022


On Thu, Jun 23, 2022 at 07:58:42PM +0400, Roman Arutyunyan wrote:
> # HG changeset patch
> # User Roman Arutyunyan <arut at nginx.com>
> # Date 1655904279 -14400
> #      Wed Jun 22 17:24:39 2022 +0400
> # Branch quic
> # Node ID 1912c09e0e4d746ec0a4c2140b6d2046b283b647
> # Parent  ea555f7caec372e93e1b9a11ed822002e97ed58b
> QUIC: removed ngx_quic_shutdown_connection().
> 
> HTTP/3 shutdown is now controlled by HTTP/3 layer.  QUIC connection is
> finalized after reaching requests limit when all request streams have finished.

Finalizing QUIC connection from HTTP/3 connection cleanup handler
prevents the last stream cleanup handler from regular run.  Normally
it is called next, but after QUIC shutdown initiated, that's too late,
and stream FIN won't be sent.



More information about the nginx-devel mailing list