]> git.kaiwu.me - nginx.git/commitdiff
QUIC: fixed stream read event log.
authorRoman Arutyunyan <arut@nginx.com>
Fri, 17 Jul 2020 21:08:29 +0000 (00:08 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Fri, 17 Jul 2020 21:08:29 +0000 (00:08 +0300)
Previously, the main connection log was there.  Now it's the stream connection
log.

src/event/ngx_event_quic.c

index b8177f30e81b3987217c96a47f960922a9047470..41d30ca102e6f031cac25a941695fa6732ffe808 100644 (file)
@@ -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;