]> git.kaiwu.me - nginx.git/commit
QUIC: pass return code from ngx_quic_decrypt() to the caller.
authorVladimir Homutov <vl@nginx.com>
Wed, 2 Sep 2020 19:34:15 +0000 (22:34 +0300)
committerVladimir Homutov <vl@nginx.com>
Wed, 2 Sep 2020 19:34:15 +0000 (22:34 +0300)
commitfb54f2acd964211cda7ec9423f9fa0e142b2645b
tree52eba1b50ba0a642ccf5baceb783e5a13c4c79a1
parentff4cfa80e51a015d538a7880da5b5a41e1ac7289
QUIC: pass return code from ngx_quic_decrypt() to the caller.

It is required to distinguish internal errors from corrupted packets and
perform actions accordingly: drop the packet or close the connection.

While there, made processing of ngx_quic_decrypt() erorrs similar and
removed couple of protocol violation errors.
src/event/ngx_event_quic.c
src/event/ngx_event_quic_protection.c