Latest update - GitHub e3a9b6a

This commit is contained in:
2024-12-28 21:49:18 +09:00
parent 86951937fd
commit aea1e5e5d6
4 changed files with 20 additions and 8 deletions
@@ -295,6 +295,11 @@ ngx_quic_parse_packet(ngx_quic_header_t *pkt)
return NGX_ERROR;
}
if (pkt->version == 0) {
/* version negotiation */
return NGX_ERROR;
}
if (!ngx_quic_supported_version(pkt->version)) {
return NGX_ABORT;
}