]> git.kaiwu.me - nginx.git/commit
QUIC: treat qc->error == -1 as a missing error.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 7 Sep 2022 08:37:15 +0000 (12:37 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 7 Sep 2022 08:37:15 +0000 (12:37 +0400)
commitd3fb12d77fad66eba2d8db102e505000c2a80e6d
tree1f18737248e7ed4a52de7e2ea4152e3ba6f8ac1e
parentd3294e61d598021554b91dd350c2dcd33c55887d
QUIC: treat qc->error == -1 as a missing error.

Previously, zero was used for this purpose.  However, NGX_QUIC_ERR_NO_ERROR is
zero too.  As a result, NGX_QUIC_ERR_NO_ERROR was changed to
NGX_QUIC_ERR_INTERNAL_ERROR when closing a QUIC connection.
src/event/quic/ngx_event_quic.c