diff options
| author | Vladimir Homutov <vl@nginx.com> | 2020-03-23 10:57:28 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2020-03-23 10:57:28 +0300 |
| commit | 6a3a0ee19f1b37edc9a69765ee745dae96082d96 (patch) | |
| tree | 4b8d8276a23cd9406b5ad365169828c45dff9509 | |
| parent | 4490aefa703204129bf4becbcd5a5251f59abef7 (diff) | |
| download | nginx-6a3a0ee19f1b37edc9a69765ee745dae96082d96.tar.gz nginx-6a3a0ee19f1b37edc9a69765ee745dae96082d96.tar.bz2 | |
Add unsupported version into log.
This makes it easier to understand what client wants.
| -rw-r--r-- | src/event/ngx_event_quic_transport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event/ngx_event_quic_transport.c b/src/event/ngx_event_quic_transport.c index b70d4da6e..61265b3d3 100644 --- a/src/event/ngx_event_quic_transport.c +++ b/src/event/ngx_event_quic_transport.c @@ -294,7 +294,8 @@ ngx_quic_parse_long_header(ngx_quic_header_t *pkt) "quic flags:%xi version:%xD", pkt->flags, pkt->version); if (pkt->version != quic_version) { - ngx_log_error(NGX_LOG_ERR, pkt->log, 0, "unsupported quic version"); + ngx_log_error(NGX_LOG_ERR, pkt->log, 0, + "unsupported quic version: 0x%xi", pkt->version); return NGX_ERROR; } |
