diff 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
line wrap: on
line diff
--- a/src/core/ngx_core.h
+++ b/src/core/ngx_core.h
@@ -85,6 +85,7 @@ typedef void (*ngx_connection_handler_pt
 #if (NGX_OPENSSL)
 #include <ngx_event_openssl.h>
 #include <ngx_event_quic.h>
+#include <ngx_event_quic_transport.h>
 #include <ngx_event_quic_protection.h>
 #endif
 #include <ngx_process_cycle.h>