From 0f1478706d2b818d4079db14d1466cbbf0b7edc0 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Sat, 18 Jul 2020 00:08:29 +0300 Subject: [PATCH] QUIC: fixed stream read event log. Previously, the main connection log was there. Now it's the stream connection log. --- src/event/ngx_event_quic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index b8177f30e..41d30ca10 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -3892,8 +3892,8 @@ ngx_quic_create_stream(ngx_connection_t *c, uint64_t id, size_t rcvbuf_size) sn->c->send = ngx_quic_stream_send; sn->c->send_chain = ngx_quic_stream_send_chain; - sn->c->read->log = c->log; - sn->c->write->log = c->log; + sn->c->read->log = log; + sn->c->write->log = log; log->connection = sn->c->number;