From: Sergey Kandaurov Date: Tue, 23 Jun 2020 08:57:00 +0000 (+0300) Subject: Close QUIC connection with NO_ERROR on c->close. X-Git-Url: http://git.kaiwu.me/%7B@url%7D?a=commitdiff_plain;h=1cfd67c44a1dd14f063d0aedf7a810b4700cbaea;p=nginx.git Close QUIC connection with NO_ERROR on c->close. That way it makes more sense. Previously it was closed with INTERNAL_ERROR. --- diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index bbffd1472..95711bdfc 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -1182,7 +1182,8 @@ ngx_quic_input_handler(ngx_event_t *rev) } if (c->close) { - ngx_quic_close_connection(c, NGX_ERROR); + qc->error_reason = "graceful shutdown"; + ngx_quic_close_connection(c, NGX_OK); return; }