Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3_filter_module.c @ 8856:6a383020d61e quic
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.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Fri, 17 Sep 2021 16:32:23 +0300 |
parents | 8fc9c7f2c533 |
children | 3fdf0afd5d45 |
comparison
equal
deleted
inserted
replaced
8855:9ae239d2547d | 8856:6a383020d61e |
---|---|
915 | 915 |
916 ctx->connection = c; | 916 ctx->connection = c; |
917 ctx->request = NULL; | 917 ctx->request = NULL; |
918 ctx->current_request = NULL; | 918 ctx->current_request = NULL; |
919 | 919 |
920 c->log->handler = ngx_http_log_error; | 920 c->log->handler = pc->log->handler; |
921 c->log->data = ctx; | 921 c->log->data = ctx; |
922 c->log->action = "processing pushed request headers"; | 922 c->log->action = "processing pushed request headers"; |
923 | 923 |
924 c->log_error = NGX_ERROR_INFO; | 924 c->log_error = NGX_ERROR_INFO; |
925 | 925 |