summaryrefslogtreecommitdiffhomepage
path: root/src/http/v3
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2021-09-17 16:32:23 +0300
committerRoman Arutyunyan <arut@nginx.com>2021-09-17 16:32:23 +0300
commit0f3eb180d2af781c98b84c1e5e2b4fe4c0c3be54 (patch)
tree11294d95f470862735e65c0d6614859bf46c3c64 /src/http/v3
parent00bb4e4b8d2c6fa9a9323b158cfc22071b848e87 (diff)
downloadnginx-0f3eb180d2af781c98b84c1e5e2b4fe4c0c3be54.tar.gz
nginx-0f3eb180d2af781c98b84c1e5e2b4fe4c0c3be54.tar.bz2
HTTP/3: make ngx_http_log_error() static again.
This function was only referenced from ngx_http_v3_create_push_request() to initialize push connection log. Now the log handler is copied from the parent request connection. The change reduces diff to the default branch.
Diffstat (limited to 'src/http/v3')
-rw-r--r--src/http/v3/ngx_http_v3_filter_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/v3/ngx_http_v3_filter_module.c b/src/http/v3/ngx_http_v3_filter_module.c
index 764d97957..5af17e40a 100644
--- a/src/http/v3/ngx_http_v3_filter_module.c
+++ b/src/http/v3/ngx_http_v3_filter_module.c
@@ -917,7 +917,7 @@ ngx_http_v3_create_push_request(ngx_http_request_t *pr, ngx_str_t *path,
ctx->request = NULL;
ctx->current_request = NULL;
- c->log->handler = ngx_http_log_error;
+ c->log->handler = pc->log->handler;
c->log->data = ctx;
c->log->action = "processing pushed request headers";