From 49527110972d80d20000044e6e63f6a1a08af67f Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Fri, 25 Dec 2020 14:01:28 +0300 Subject: [PATCH] QUIC: moved all quic sources into src/event/quic. --- auto/make | 3 ++- auto/modules | 12 ++++++------ auto/sources | 2 +- src/event/{ => quic}/ngx_event_quic.c | 0 src/event/{ => quic}/ngx_event_quic.h | 0 src/event/{ => quic}/ngx_event_quic_protection.c | 0 src/event/{ => quic}/ngx_event_quic_protection.h | 0 src/event/{ => quic}/ngx_event_quic_transport.c | 0 src/event/{ => quic}/ngx_event_quic_transport.h | 0 9 files changed, 9 insertions(+), 8 deletions(-) rename src/event/{ => quic}/ngx_event_quic.c (100%) rename src/event/{ => quic}/ngx_event_quic.h (100%) rename src/event/{ => quic}/ngx_event_quic_protection.c (100%) rename src/event/{ => quic}/ngx_event_quic_protection.h (100%) rename src/event/{ => quic}/ngx_event_quic_transport.c (100%) rename src/event/{ => quic}/ngx_event_quic_transport.h (100%) diff --git a/auto/make b/auto/make index 98ae07153..2b8f6ea41 100644 --- a/auto/make +++ b/auto/make @@ -11,7 +11,8 @@ mkdir -p $NGX_OBJS/src/core $NGX_OBJS/src/event $NGX_OBJS/src/event/modules \ $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 diff --git a/auto/modules b/auto/modules index 3f2430b62..82a887eb1 100644 --- 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 diff --git a/auto/sources b/auto/sources index 3dad11132..37276aa94 100644 --- 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 \ diff --git a/src/event/ngx_event_quic.c b/src/event/quic/ngx_event_quic.c similarity index 100% rename from src/event/ngx_event_quic.c rename to src/event/quic/ngx_event_quic.c diff --git a/src/event/ngx_event_quic.h b/src/event/quic/ngx_event_quic.h similarity index 100% rename from src/event/ngx_event_quic.h rename to src/event/quic/ngx_event_quic.h diff --git a/src/event/ngx_event_quic_protection.c b/src/event/quic/ngx_event_quic_protection.c similarity index 100% rename from src/event/ngx_event_quic_protection.c rename to src/event/quic/ngx_event_quic_protection.c diff --git a/src/event/ngx_event_quic_protection.h b/src/event/quic/ngx_event_quic_protection.h similarity index 100% rename from src/event/ngx_event_quic_protection.h rename to src/event/quic/ngx_event_quic_protection.h diff --git a/src/event/ngx_event_quic_transport.c b/src/event/quic/ngx_event_quic_transport.c similarity index 100% rename from src/event/ngx_event_quic_transport.c rename to src/event/quic/ngx_event_quic_transport.c diff --git a/src/event/ngx_event_quic_transport.h b/src/event/quic/ngx_event_quic_transport.h similarity index 100% rename from src/event/ngx_event_quic_transport.h rename to src/event/quic/ngx_event_quic_transport.h