comparison src/http/ngx_http_request.c @ 8362:44cac24aaa44 quic

Assign connection number to every QUIC stream log.
author Roman Arutyunyan <arut@nginx.com>
date Thu, 23 Apr 2020 18:05:05 +0300
parents 5b7ec588de48
children d2759e4cc437
comparison
equal deleted inserted replaced
8361:336d527ca031 8362:44cac24aaa44
436 436
437 ctx->connection = c; 437 ctx->connection = c;
438 ctx->request = NULL; 438 ctx->request = NULL;
439 ctx->current_request = NULL; 439 ctx->current_request = NULL;
440 440
441 c->log->connection = c->number;
442 c->log->handler = ngx_http_log_error; 441 c->log->handler = ngx_http_log_error;
443 c->log->data = ctx; 442 c->log->data = ctx;
444 c->log->action = "waiting for request"; 443 c->log->action = "waiting for request";
445 444
446 c->log_error = NGX_ERROR_INFO; 445 c->log_error = NGX_ERROR_INFO;