QUIC: quic retry log error when ngx_exiting

Gao,Yan(ACG VCP) gaoyan09 at baidu.com
Wed Mar 3 11:53:57 UTC 2021


2021/03/03 19:34:49 [debug] 176572#0: *19974 recvmsg: 111.206.214.32:59242 fd:12 n:1350
2021/03/03 19:34:49 [debug] 176572#0: *19974 quic run
2021/03/03 19:34:49 [debug] 176572#0: *19974 quic packet rx long flags:c8 version:ff00001d
2021/03/03 19:34:49 [debug] 176572#0: *19974 quic packet rx init len:1332
2021/03/03 19:34:49 [debug] 176572#0: *19974 quic packet rx dcid len:8 92545cbefeb0567c
2021/03/03 19:34:49 [debug] 176572#0: *19974 quic packet rx scid len:0
2021/03/03 19:34:49 [debug] 176572#0: *19974 quic address validation token len:0
2021/03/03 19:34:49 [debug] 176572#0: *19974 sendmsg: 107 of 107
2021/03/03 19:34:49 [debug] 176572#0: *19974 quic retry packet sent to
2021/03/03 19:34:49 [debug] 176572#0: *19974 quic packet init done decr:0 pn:0 perr:0 rc:-4
2021/03/03 19:34:49 [debug] 176572#0: *19974 quic ngx_quic_close_connection rc:-4
2021/03/03 19:34:49 [debug] 176572#0: *19974 reusable connection: 0
2021/03/03 19:34:49 [debug] 176572#0: *19974 free: 000056414CFB9160
2021/03/03 19:34:49 [debug] 176572#0: *19974 free: 000056414CFC9580, unused: 74

Code:
ngx_log_debug(NGX_LOG_DEBUG_EVENT, c->log, 0,
                  "quic retry packet sent to %xV", &pkt.dcid);

Bug produce step:
1, copy https://quic.nginx.org/quic.html to localhost
2, visit https://localhost/quic.html by chrome --enable-quic --quic-version=h3-29
3, run test script, and reload nginx multi times meanwhile
4, chrome stuck for a while, and some request fails, some change to http2
5, check nginx error log, quic retry log no dcid

Info:
sbin/nginx -V
nginx version: nginx/1.19.7
built by gcc 8.4.0 (Ubuntu 8.4.0-3ubuntu2)
built with OpenSSL 1.1.1 (compatible; BoringSSL) (running with BoringSSL)
TLS SNI support enabled
configure arguments: --with-debug --with-http_v3_module --with-http_quic_module --with-cc-opt=-I../boringssl/include --with-ld-opt='-L../boringssl/build/ssl -L../boringssl/build/crypto'

Gao,Yan(ACG VCP)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20210303/f9792034/attachment.htm>


More information about the nginx-devel mailing list