From a40fa4aa9640a574cc6413dabada256f837d8cb9 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Wed, 5 May 2021 15:15:17 +0300 Subject: [PATCH] HTTP/3: moved Stream Cancellation stub to ngx_http_v3_streams.c. --- src/http/v3/ngx_http_v3_streams.c | 12 ++++++++++++ src/http/v3/ngx_http_v3_tables.c | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/http/v3/ngx_http_v3_streams.c b/src/http/v3/ngx_http_v3_streams.c index f2036982f..b300dcc01 100644 --- 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 *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; +} diff --git a/src/http/v3/ngx_http_v3_tables.c b/src/http/v3/ngx_http_v3_tables.c index 200e8a396..1b4a73ab0 100644 --- a/src/http/v3/ngx_http_v3_tables.c +++ b/src/http/v3/ngx_http_v3_tables.c @@ -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) {