changeset 8673:046c951e393a quic

QUIC: moved all quic sources into src/event/quic.
author Vladimir Homutov <vl@nginx.com>
date Fri, 25 Dec 2020 14:01:28 +0300
parents 13c537def699
children 2c7f927f7999
files auto/make auto/modules auto/sources src/event/ngx_event_quic.c src/event/ngx_event_quic.h src/event/ngx_event_quic_protection.c src/event/ngx_event_quic_protection.h src/event/ngx_event_quic_transport.c src/event/ngx_event_quic_transport.h src/event/quic/ngx_event_quic.c src/event/quic/ngx_event_quic.h src/event/quic/ngx_event_quic_protection.c src/event/quic/ngx_event_quic_protection.h src/event/quic/ngx_event_quic_transport.c src/event/quic/ngx_event_quic_transport.h
diffstat 9 files changed, 9 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/auto/make
+++ b/auto/make
@@ -11,7 +11,8 @@ mkdir -p $NGX_OBJS/src/core $NGX_OBJS/sr
          $NGX_OBJS/src/http/modules $NGX_OBJS/src/http/modules/perl \
          $NGX_OBJS/src/mail \
          $NGX_OBJS/src/stream \
-         $NGX_OBJS/src/misc
+         $NGX_OBJS/src/misc \
+         $NGX_OBJS/src/event/quic
 
 
 ngx_objs_dir=$NGX_OBJS$ngx_regex_dirsep
--- a/auto/modules
+++ b/auto/modules
@@ -1327,13 +1327,13 @@ if [ $USE_OPENSSL = YES ]; then
 
     if [ $USE_OPENSSL_QUIC = YES ]; then
         ngx_module_deps="$ngx_module_deps \
-                         src/event/ngx_event_quic.h \
-                         src/event/ngx_event_quic_transport.h \
-                         src/event/ngx_event_quic_protection.h"
+                         src/event/quic/ngx_event_quic.h \
+                         src/event/quic/ngx_event_quic_transport.h \
+                         src/event/quic/ngx_event_quic_protection.h"
         ngx_module_srcs="$ngx_module_srcs \
-                         src/event/ngx_event_quic.c \
-                         src/event/ngx_event_quic_transport.c \
-                         src/event/ngx_event_quic_protection.c"
+                         src/event/quic/ngx_event_quic.c \
+                         src/event/quic/ngx_event_quic_transport.c \
+                         src/event/quic/ngx_event_quic_protection.c"
     fi
 
     . auto/module
--- a/auto/sources
+++ b/auto/sources
@@ -83,7 +83,7 @@ CORE_SRCS="src/core/nginx.c \
 
 EVENT_MODULES="ngx_events_module ngx_event_core_module"
 
-EVENT_INCS="src/event src/event/modules"
+EVENT_INCS="src/event src/event/modules src/event/quic"
 
 EVENT_DEPS="src/event/ngx_event.h \
             src/event/ngx_event_timer.h \
rename from src/event/ngx_event_quic.c
rename to src/event/quic/ngx_event_quic.c
rename from src/event/ngx_event_quic.h
rename to src/event/quic/ngx_event_quic.h
rename from src/event/ngx_event_quic_protection.c
rename to src/event/quic/ngx_event_quic_protection.c
rename from src/event/ngx_event_quic_protection.h
rename to src/event/quic/ngx_event_quic_protection.h
rename from src/event/ngx_event_quic_transport.c
rename to src/event/quic/ngx_event_quic_transport.c
rename from src/event/ngx_event_quic_transport.h
rename to src/event/quic/ngx_event_quic_transport.h