Mercurial > hg > nginx-quic
comparison src/http/v3/ngx_http_v3_streams.c @ 7839: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 | dadbc66e9fca |
children | c101438c69a4 |
comparison
equal
deleted
inserted
replaced
7838:336d527ca031 | 7839:44cac24aaa44 |
---|---|
31 | 31 |
32 void | 32 void |
33 ngx_http_v3_handle_client_uni_stream(ngx_connection_t *c) | 33 ngx_http_v3_handle_client_uni_stream(ngx_connection_t *c) |
34 { | 34 { |
35 ngx_http_v3_uni_stream_t *us; | 35 ngx_http_v3_uni_stream_t *us; |
36 | |
37 c->log->connection = c->number; | |
38 | 36 |
39 ngx_http_v3_get_uni_stream(c, NGX_HTTP_V3_STREAM_CONTROL); | 37 ngx_http_v3_get_uni_stream(c, NGX_HTTP_V3_STREAM_CONTROL); |
40 ngx_http_v3_get_uni_stream(c, NGX_HTTP_V3_STREAM_ENCODER); | 38 ngx_http_v3_get_uni_stream(c, NGX_HTTP_V3_STREAM_ENCODER); |
41 ngx_http_v3_get_uni_stream(c, NGX_HTTP_V3_STREAM_DECODER); | 39 ngx_http_v3_get_uni_stream(c, NGX_HTTP_V3_STREAM_DECODER); |
42 | 40 |