comparison src/core/ngx_core.h @ 8224:ae35ccba7aa6 quic

Extracted transport part of the code into separate file. All code dealing with serializing/deserializing is moved int srv/event/ngx_event_quic_transport.c/h file. All macros for dealing with data are internal to source file. The header file exposes frame types and error codes. The exported functions are currently packet header parsers and writers and frames parser/writer. The ngx_quic_header_t structure is updated with 'log' member. This avoids passing extra argument to parsing functions that need to report errors.
author Vladimir Homutov <vl@nginx.com>
date Wed, 18 Mar 2020 12:58:27 +0300
parents 69345a26ba69
children 0e6528551f26
comparison
equal deleted inserted replaced
8223:61f9b873e2e7 8224:ae35ccba7aa6
83 #include <ngx_cycle.h> 83 #include <ngx_cycle.h>
84 #include <ngx_resolver.h> 84 #include <ngx_resolver.h>
85 #if (NGX_OPENSSL) 85 #if (NGX_OPENSSL)
86 #include <ngx_event_openssl.h> 86 #include <ngx_event_openssl.h>
87 #include <ngx_event_quic.h> 87 #include <ngx_event_quic.h>
88 #include <ngx_event_quic_transport.h>
88 #include <ngx_event_quic_protection.h> 89 #include <ngx_event_quic_protection.h>
89 #endif 90 #endif
90 #include <ngx_process_cycle.h> 91 #include <ngx_process_cycle.h>
91 #include <ngx_conf_file.h> 92 #include <ngx_conf_file.h>
92 #include <ngx_module.h> 93 #include <ngx_module.h>