]> git.kaiwu.me - nginx.git/commit
QUIC: avoid using C99 designated initializers.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 22 Nov 2022 14:05:35 +0000 (18:05 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Tue, 22 Nov 2022 14:05:35 +0000 (18:05 +0400)
commit499dbd28be42c75f90919881ce0df1dce85ad9f1
tree619419058188ba0483638ea9e3bce64e23176e01
parent44a901c9e0776ce3d152c78149d13e9222a3776f
QUIC: avoid using C99 designated initializers.

They are not supported by MSVC till 2012.

SSL_QUIC_METHOD initialization is moved to run-time to preserve portability
among SSL library implementations, which allows to reduce its visibility.
Note using of a static storage to keep SSL_set_quic_method() reference valid.
src/event/quic/ngx_event_quic_protection.c
src/event/quic/ngx_event_quic_ssl.c