Mercurial > hg > nginx
comparison src/event/ngx_event_quic.c @ 8479: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 |
comparison
equal
deleted
inserted
replaced
8478:d2f716e668e8 | 8479:b250b515e5b6 |
---|---|
3890 | 3890 |
3891 sn->c->recv = ngx_quic_stream_recv; | 3891 sn->c->recv = ngx_quic_stream_recv; |
3892 sn->c->send = ngx_quic_stream_send; | 3892 sn->c->send = ngx_quic_stream_send; |
3893 sn->c->send_chain = ngx_quic_stream_send_chain; | 3893 sn->c->send_chain = ngx_quic_stream_send_chain; |
3894 | 3894 |
3895 sn->c->read->log = c->log; | 3895 sn->c->read->log = log; |
3896 sn->c->write->log = c->log; | 3896 sn->c->write->log = log; |
3897 | 3897 |
3898 log->connection = sn->c->number; | 3898 log->connection = sn->c->number; |
3899 | 3899 |
3900 if ((id & NGX_QUIC_STREAM_UNIDIRECTIONAL) == 0 | 3900 if ((id & NGX_QUIC_STREAM_UNIDIRECTIONAL) == 0 |
3901 || (id & NGX_QUIC_STREAM_SERVER_INITIATED)) | 3901 || (id & NGX_QUIC_STREAM_SERVER_INITIATED)) |