Mercurial > hg > nginx
comparison src/stream/ngx_stream_quic_module.c @ 8755:b4e6b7049984 quic
QUIC: normalize header inclusion.
Stop including QUIC headers with no user-serviceable parts inside.
This allows to provide a much cleaner QUIC interface. To cope with that,
ngx_quic_derive_key() is now explicitly exported for v3 and quic modules.
Additionally, this completely hides the ngx_quic_keys_t internal type.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 13 Apr 2021 12:38:34 +0300 |
parents | cef042935003 |
children | f8ad3dd142ad |
comparison
equal
deleted
inserted
replaced
8754:915c2f7092ed | 8755:b4e6b7049984 |
---|---|
6 | 6 |
7 | 7 |
8 #include <ngx_config.h> | 8 #include <ngx_config.h> |
9 #include <ngx_core.h> | 9 #include <ngx_core.h> |
10 #include <ngx_stream.h> | 10 #include <ngx_stream.h> |
11 | |
12 #include <ngx_event_quic_protection.h> | |
13 | 11 |
14 | 12 |
15 static ngx_int_t ngx_stream_variable_quic(ngx_stream_session_t *s, | 13 static ngx_int_t ngx_stream_variable_quic(ngx_stream_session_t *s, |
16 ngx_stream_variable_value_t *v, uintptr_t data); | 14 ngx_stream_variable_value_t *v, uintptr_t data); |
17 static ngx_int_t ngx_stream_quic_add_variables(ngx_conf_t *cf); | 15 static ngx_int_t ngx_stream_quic_add_variables(ngx_conf_t *cf); |