Mercurial > hg > nginx
diff src/event/quic/ngx_event_quic_socket.c @ 8997:fab36e4abf83 quic
QUIC: got rid of hash symbol in backup and logging.
Now all objectes with sequence number (i.e. sockets, connection ids and
paths) are logged as "foo seq:N".
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 28 Jan 2022 14:57:33 +0300 |
parents | 1e2f4e9c8195 |
children | a2fbae359828 |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_socket.c +++ b/src/event/quic/ngx_event_quic_socket.c @@ -160,7 +160,7 @@ ngx_quic_close_socket(ngx_connection_t * qc->nsockets--; ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0, - "quic socket #%L closed nsock:%ui", + "quic socket seq:%L closed nsock:%ui", (int64_t) qsock->sid.seqnum, qc->nsockets); } @@ -185,7 +185,7 @@ ngx_quic_listen(ngx_connection_t *c, ngx qsock->quic = qc; ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0, - "quic socket #%L listening at sid:%xV nsock:%ui", + "quic socket seq:%L listening at sid:%xV nsock:%ui", (int64_t) sid->seqnum, &id, qc->nsockets); return NGX_OK;