Mercurial > hg > nginx-quic
comparison src/event/ngx_event_quic.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 | 2da9c4fddd44 |
children | 455a8536eaa7 |
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 /* 0-RTT and 1-RTT data exist in the same packet number space, | 14 /* 0-RTT and 1-RTT data exist in the same packet number space, |
13 * so we have 3 packet number spaces: | 15 * so we have 3 packet number spaces: |
14 * | 16 * |