mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
Close QUIC connection with NO_ERROR on c->close.
That way it makes more sense. Previously it was closed with INTERNAL_ERROR.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user