mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
Add unsupported version into log.
This makes it easier to understand what client wants.
This commit is contained in:
parent
4490aefa70
commit
6a3a0ee19f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user