]> git.kaiwu.me - nginx.git/commit
QUIC: split keys availability checks to read and write sides.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 31 Aug 2023 15:54:10 +0000 (19:54 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 31 Aug 2023 15:54:10 +0000 (19:54 +0400)
commitcd5f4cd8d3991414167a734f452e8e3fe98f3916
treea49dfed5d5f6a5be87d83e75e1679a23dbef116c
parentc93cb45ae30760b7cd4ce2d9e053a36449d4e233
QUIC: split keys availability checks to read and write sides.

Keys may be released by TLS stack in different times, so it makes sense
to check this independently as well.  This allows to fine-tune what key
direction is used when checking keys availability.

When discarding, server keys are now marked in addition to client keys.
src/event/quic/ngx_event_quic.c
src/event/quic/ngx_event_quic_protection.c
src/event/quic/ngx_event_quic_protection.h
src/event/quic/ngx_event_quic_ssl.c