mirror of
https://github.com/nginx/nginx.git
synced 2025-06-22 22:10:45 +08: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:
parent
9d46500914
commit
1cfd67c44a
@ -1182,7 +1182,8 @@ ngx_quic_input_handler(ngx_event_t *rev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (c->close) {
|
if (c->close) {
|
||||||
ngx_quic_close_connection(c, NGX_ERROR);
|
qc->error_reason = "graceful shutdown";
|
||||||
|
ngx_quic_close_connection(c, NGX_OK);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user