]> git.kaiwu.me - nginx.git/commitdiff
QUIC: added logging of a declined packet without retry token.
authorVladimir Homutov <vl@nginx.com>
Sun, 25 Oct 2020 21:34:24 +0000 (00:34 +0300)
committerVladimir Homutov <vl@nginx.com>
Sun, 25 Oct 2020 21:34:24 +0000 (00:34 +0300)
src/event/ngx_event_quic.c

index 5092f03433bc69cfdf7c759dec4307aa26f0e931..5e19f33c4af27f06c8475289618b6914d25d125e 100644 (file)
@@ -1984,6 +1984,8 @@ ngx_quic_process_packet(ngx_connection_t *c, ngx_quic_conf_t *conf,
             }
 
             if (!pkt->token.len) {
+                ngx_log_error(NGX_LOG_INFO, c->log, 0,
+                              "quic discard retry packet without token");
                 return NGX_DECLINED;
             }