Mercurial > hg > nginx-quic
changeset 7997:b250b515e5b6 quic
QUIC: fixed stream read event log.
Previously, the main connection log was there. Now it's the stream connection
log.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Sat, 18 Jul 2020 00:08:29 +0300 |
parents | d2f716e668e8 |
children | f537f99b86ee |
files | src/event/ngx_event_quic.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 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;