# HG changeset patch # User Roman Arutyunyan # Date 1638871288 -10800 # Node ID 18d23ed15eef92b5ece40f76026c4477771760e4 # Parent d6ef13c5fd8eaacaeed118272b25c8dc27a157ff HTTP/3: renamed files. ngx_http_v3_tables.h and ngx_http_v3_tables.c are renamed to ngx_http_v3_table.h and ngx_http_v3_table.c to better match HTTP/2 code. ngx_http_v3_streams.h and ngx_http_v3_streams.c are renamed to ngx_http_v3_uni.h and ngx_http_v3_uni.c to better match their content. diff --git a/auto/modules b/auto/modules --- a/auto/modules +++ b/auto/modules @@ -448,13 +448,13 @@ if [ $HTTP = YES ]; then ngx_module_deps="src/http/v3/ngx_http_v3.h \ src/http/v3/ngx_http_v3_encode.h \ src/http/v3/ngx_http_v3_parse.h \ - src/http/v3/ngx_http_v3_tables.h \ - src/http/v3/ngx_http_v3_streams.h" + src/http/v3/ngx_http_v3_table.h \ + src/http/v3/ngx_http_v3_uni.h" ngx_module_srcs="src/http/v3/ngx_http_v3.c \ src/http/v3/ngx_http_v3_encode.c \ src/http/v3/ngx_http_v3_parse.c \ - src/http/v3/ngx_http_v3_tables.c \ - src/http/v3/ngx_http_v3_streams.c \ + src/http/v3/ngx_http_v3_table.c \ + src/http/v3/ngx_http_v3_uni.c \ src/http/v3/ngx_http_v3_request.c \ src/http/v3/ngx_http_v3_module.c" ngx_module_libs= diff --git a/src/http/v3/ngx_http_v3.h b/src/http/v3/ngx_http_v3.h --- a/src/http/v3/ngx_http_v3.h +++ b/src/http/v3/ngx_http_v3.h @@ -15,8 +15,8 @@ #include #include -#include -#include +#include +#include #define NGX_HTTP_V3_ALPN_PROTO "\x02h3" diff --git a/src/http/v3/ngx_http_v3_tables.c b/src/http/v3/ngx_http_v3_table.c rename from src/http/v3/ngx_http_v3_tables.c rename to src/http/v3/ngx_http_v3_table.c diff --git a/src/http/v3/ngx_http_v3_tables.h b/src/http/v3/ngx_http_v3_table.h rename from src/http/v3/ngx_http_v3_tables.h rename to src/http/v3/ngx_http_v3_table.h --- a/src/http/v3/ngx_http_v3_tables.h +++ b/src/http/v3/ngx_http_v3_table.h @@ -5,8 +5,8 @@ */ -#ifndef _NGX_HTTP_V3_TABLES_H_INCLUDED_ -#define _NGX_HTTP_V3_TABLES_H_INCLUDED_ +#ifndef _NGX_HTTP_V3_TABLE_H_INCLUDED_ +#define _NGX_HTTP_V3_TABLE_H_INCLUDED_ #include @@ -50,4 +50,4 @@ ngx_int_t ngx_http_v3_set_param(ngx_conn uint64_t value); -#endif /* _NGX_HTTP_V3_TABLES_H_INCLUDED_ */ +#endif /* _NGX_HTTP_V3_TABLE_H_INCLUDED_ */ diff --git a/src/http/v3/ngx_http_v3_streams.c b/src/http/v3/ngx_http_v3_uni.c rename from src/http/v3/ngx_http_v3_streams.c rename to src/http/v3/ngx_http_v3_uni.c diff --git a/src/http/v3/ngx_http_v3_streams.h b/src/http/v3/ngx_http_v3_uni.h rename from src/http/v3/ngx_http_v3_streams.h rename to src/http/v3/ngx_http_v3_uni.h --- a/src/http/v3/ngx_http_v3_streams.h +++ b/src/http/v3/ngx_http_v3_uni.h @@ -5,8 +5,8 @@ */ -#ifndef _NGX_HTTP_V3_STREAMS_H_INCLUDED_ -#define _NGX_HTTP_V3_STREAMS_H_INCLUDED_ +#ifndef _NGX_HTTP_V3_UNI_H_INCLUDED_ +#define _NGX_HTTP_V3_UNI_H_INCLUDED_ #include @@ -35,4 +35,4 @@ ngx_int_t ngx_http_v3_send_inc_insert_co ngx_uint_t inc); -#endif /* _NGX_HTTP_V3_STREAMS_H_INCLUDED_ */ +#endif /* _NGX_HTTP_V3_UNI_H_INCLUDED_ */