# HG changeset patch # User Sergey Kandaurov # Date 1584866115 -10800 # Node ID 80d7144b1c3827a4a5e75d480d499bcff97fa484 # Parent 085fd6e68367733c70739f6c32780acbfde80a9f Closing connection on NGX_QUIC_FT_CONNECTION_CLOSE. diff -r 085fd6e68367 -r 80d7144b1c38 src/event/ngx_event_quic.c --- a/src/event/ngx_event_quic.c Sat Mar 21 20:49:55 2020 +0300 +++ b/src/event/ngx_event_quic.c Sun Mar 22 11:35:15 2020 +0300 @@ -779,6 +779,7 @@ break; case NGX_QUIC_FT_CONNECTION_CLOSE: + case NGX_QUIC_FT_CONNECTION_CLOSE2: do_close = 1; break; @@ -839,7 +840,8 @@ } if (do_close) { - // TODO: handle stream close + ngx_quic_close_connection(c); + return NGX_OK; } if (ack_this == 0) {