]> git.kaiwu.me - nginx.git/commitdiff
HTTP/3: moved Stream Cancellation stub to ngx_http_v3_streams.c.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 5 May 2021 12:15:17 +0000 (15:15 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 5 May 2021 12:15:17 +0000 (15:15 +0300)
src/http/v3/ngx_http_v3_streams.c
src/http/v3/ngx_http_v3_tables.c

index f2036982f23b1009688eca0e148f759f9271ee0f..b300dcc017946cd1d86015646f72904aad83e993 100644 (file)
@@ -891,3 +891,15 @@ ngx_http_v3_cancel_push(ngx_connection_t *c, uint64_t push_id)
 
     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;
+}
index 200e8a3969156d4e5b7d08edf224bf1bd17842c1..1b4a73ab0fddbe5194e202f0dd0700daf3fb9a3b 100644 (file)
@@ -396,18 +396,6 @@ ngx_http_v3_ack_header(ngx_connection_t *c, ngx_uint_t stream_id)
 }
 
 
-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)
 {