changeset 8767:33ec97749b5f quic

HTTP/3: moved Stream Cancellation stub to ngx_http_v3_streams.c.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 05 May 2021 15:15:17 +0300
parents 70701edfc5d4
children 40d710a66aef
files src/http/v3/ngx_http_v3_streams.c src/http/v3/ngx_http_v3_tables.c
diffstat 2 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/v3/ngx_http_v3_streams.c
+++ b/src/http/v3/ngx_http_v3_streams.c
@@ -891,3 +891,15 @@ ngx_http_v3_cancel_push(ngx_connection_t
 
     return NGX_OK;
 }
+
+
+ngx_int_t
+ngx_http_v3_cancel_stream(ngx_connection_t *c, ngx_uint_t stream_id)
+{
+    ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0,
+                   "http3 cancel stream %ui", stream_id);
+
+    /* we do not use dynamic tables */
+
+    return NGX_OK;
+}
--- a/src/http/v3/ngx_http_v3_tables.c
+++ b/src/http/v3/ngx_http_v3_tables.c
@@ -397,18 +397,6 @@ ngx_http_v3_ack_header(ngx_connection_t 
 
 
 ngx_int_t
-ngx_http_v3_cancel_stream(ngx_connection_t *c, ngx_uint_t stream_id)
-{
-    ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0,
-                   "http3 cancel stream %ui", stream_id);
-
-    /* we do not use dynamic tables */
-
-    return NGX_OK;
-}
-
-
-ngx_int_t
 ngx_http_v3_inc_insert_count(ngx_connection_t *c, ngx_uint_t inc)
 {
     ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0,