]> git.kaiwu.me - nginx.git/commit
Added generation of CC frames with error on connection termination.
authorVladimir Homutov <vl@nginx.com>
Thu, 14 May 2020 12:54:45 +0000 (15:54 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 14 May 2020 12:54:45 +0000 (15:54 +0300)
commitcb316c5f589593c368404e59e7c1094864724481
tree0f0aacb742b302c1a645c5f78cb00bba26cb14a7
parent9b1800d09a0f8017762d003e109393bd0686b92d
Added generation of CC frames with error on connection termination.

When an error occurs, then c->quic->error field may be populated
with an appropriate error code, and the CONNECTION CLOSE frame will be
sent to the peer before the connection is closed.  Otherwise, the error
treated as internal and INTERNAL_ERROR code is sent.

The pkt->error field is populated by functions processing packets to
indicate an error when it does not fit into pass/fail return status.
src/event/ngx_event_quic.c
src/event/ngx_event_quic_transport.c
src/event/ngx_event_quic_transport.h