From: Roman Arutyunyan Date: Wed, 5 May 2021 12:15:17 +0000 (+0300) Subject: HTTP/3: moved Stream Cancellation stub to ngx_http_v3_streams.c. X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=a40fa4aa9640a574cc6413dabada256f837d8cb9;p=nginx.git HTTP/3: moved Stream Cancellation stub to ngx_http_v3_streams.c. --- 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) {