Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic.h @ 8895:4b2d259bdadd quic
QUIC: connections with wrong ALPN protocols are now rejected.
Previously, it was not enforced in the stream module.
Now, since b9e02e9b2f1d it is possible to specify protocols.
Since ALPN is always required, the 'require_alpn' setting is now obsolete.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Wed, 03 Nov 2021 13:36:21 +0300 |
parents | b4c7853b0488 |
children | 41caf5410110 |
comparison
equal
deleted
inserted
replaced
8894:de7b9af30fc6 | 8895:4b2d259bdadd |
---|---|
58 typedef struct { | 58 typedef struct { |
59 ngx_ssl_t *ssl; | 59 ngx_ssl_t *ssl; |
60 ngx_quic_tp_t tp; | 60 ngx_quic_tp_t tp; |
61 ngx_flag_t retry; | 61 ngx_flag_t retry; |
62 ngx_flag_t gso_enabled; | 62 ngx_flag_t gso_enabled; |
63 ngx_flag_t require_alpn; | |
64 ngx_str_t host_key; | 63 ngx_str_t host_key; |
65 u_char av_token_key[NGX_QUIC_AV_KEY_LEN]; | 64 u_char av_token_key[NGX_QUIC_AV_KEY_LEN]; |
66 u_char sr_token_key[NGX_QUIC_SR_KEY_LEN]; | 65 u_char sr_token_key[NGX_QUIC_SR_KEY_LEN]; |
67 } ngx_quic_conf_t; | 66 } ngx_quic_conf_t; |
68 | 67 |