]> git.kaiwu.me - nginx.git/commitdiff
HTTP/3: renamed files.
authorRoman Arutyunyan <arut@nginx.com>
Tue, 7 Dec 2021 10:01:28 +0000 (13:01 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Tue, 7 Dec 2021 10:01:28 +0000 (13:01 +0300)
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.

auto/modules
src/http/v3/ngx_http_v3.h
src/http/v3/ngx_http_v3_table.c [moved from src/http/v3/ngx_http_v3_tables.c with 100% similarity]
src/http/v3/ngx_http_v3_table.h [moved from src/http/v3/ngx_http_v3_tables.h with 92% similarity]
src/http/v3/ngx_http_v3_uni.c [moved from src/http/v3/ngx_http_v3_streams.c with 100% similarity]
src/http/v3/ngx_http_v3_uni.h [moved from src/http/v3/ngx_http_v3_streams.h with 89% similarity]

index f98eeafed8c37f6e8a07facc31135d69a17261a3..bc1b9bafd73d150b53de0c4ab310788c3556fc88 100644 (file)
@@ -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=
index 91fa19f10cfb91bee7b3016c61950e23831a2824..b7951e9bbc00c5423772533112b74155252be0ea 100644 (file)
@@ -15,8 +15,8 @@
 
 #include <ngx_http_v3_parse.h>
 #include <ngx_http_v3_encode.h>
-#include <ngx_http_v3_streams.h>
-#include <ngx_http_v3_tables.h>
+#include <ngx_http_v3_uni.h>
+#include <ngx_http_v3_table.h>
 
 
 #define NGX_HTTP_V3_ALPN_PROTO                     "\x02h3"
similarity index 92%
rename from src/http/v3/ngx_http_v3_tables.h
rename to src/http/v3/ngx_http_v3_table.h
index 991cc12c901dff5b61b9696b0f53f327e63cb3c7..6f88b35b91992273b1f586fbd96e089ab47adbad 100644 (file)
@@ -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 <ngx_config.h>
@@ -50,4 +50,4 @@ ngx_int_t ngx_http_v3_set_param(ngx_connection_t *c, uint64_t id,
     uint64_t value);
 
 
-#endif /* _NGX_HTTP_V3_TABLES_H_INCLUDED_ */
+#endif /* _NGX_HTTP_V3_TABLE_H_INCLUDED_ */
similarity index 89%
rename from src/http/v3/ngx_http_v3_streams.h
rename to src/http/v3/ngx_http_v3_uni.h
index 42ff849bed8db96c157659ee42f91c7c39e67297..8c1eb99d373efb0c567258491e492b59af27f439 100644 (file)
@@ -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 <ngx_config.h>
@@ -35,4 +35,4 @@ ngx_int_t ngx_http_v3_send_inc_insert_count(ngx_connection_t *c,
     ngx_uint_t inc);
 
 
-#endif /* _NGX_HTTP_V3_STREAMS_H_INCLUDED_ */
+#endif /* _NGX_HTTP_V3_UNI_H_INCLUDED_ */