mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 21:13:08 +00:00
Closing connection on NGX_QUIC_FT_CONNECTION_CLOSE.
This commit is contained in:
parent
63e6c9349e
commit
ccb0049e3f
1 changed files with 3 additions and 1 deletions
|
|
@ -779,6 +779,7 @@ ngx_quic_payload_handler(ngx_connection_t *c, ngx_quic_header_t *pkt)
|
|||
break;
|
||||
|
||||
case NGX_QUIC_FT_CONNECTION_CLOSE:
|
||||
case NGX_QUIC_FT_CONNECTION_CLOSE2:
|
||||
|
||||
do_close = 1;
|
||||
break;
|
||||
|
|
@ -839,7 +840,8 @@ ngx_quic_payload_handler(ngx_connection_t *c, ngx_quic_header_t *pkt)
|
|||
}
|
||||
|
||||
if (do_close) {
|
||||
// TODO: handle stream close
|
||||
ngx_quic_close_connection(c);
|
||||
return NGX_OK;
|
||||
}
|
||||
|
||||
if (ack_this == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue