Mercurial > hg > nginx-quic
comparison src/event/ngx_event_quic_protection.c @ 8004:d0ac4449a07f quic
QUIC: fixed bulding perl module by reducing header pollution.
The ngx_http_perl_module module doesn't have a notion of including additional
search paths through --with-cc-opt, which results in compile error incomplete
type 'enum ssl_encryption_level_t' when building nginx without QUIC support.
The enum is visible from quic event headers and eventually pollutes ngx_core.h.
The fix is to limit including headers to compile units that are real consumers.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 22 Jul 2020 14:48:49 +0300 |
parents | d2f716e668e8 |
children | 64a484fd40a9 |
comparison
equal
deleted
inserted
replaced
8003:b0953b020be7 | 8004:d0ac4449a07f |
---|---|
5 | 5 |
6 | 6 |
7 #include <ngx_config.h> | 7 #include <ngx_config.h> |
8 #include <ngx_core.h> | 8 #include <ngx_core.h> |
9 #include <ngx_event.h> | 9 #include <ngx_event.h> |
10 #include <ngx_event_quic_transport.h> | |
11 #include <ngx_event_quic_protection.h> | |
10 | 12 |
11 | 13 |
12 #define NGX_QUIC_IV_LEN 12 | 14 #define NGX_QUIC_IV_LEN 12 |
13 | 15 |
14 #define NGX_AES_128_GCM_SHA256 0x1301 | 16 #define NGX_AES_128_GCM_SHA256 0x1301 |