nghttpx: Set max udp payload size to IPv4 minimum payload size for now

This commit is contained in:
Tatsuhiro Tsujikawa 2021-08-27 21:26:50 +09:00
parent 82cd110dbe
commit 4292bd7ad9
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ struct UpstreamAddr;
constexpr size_t SHRPX_QUIC_SCIDLEN = 20;
constexpr size_t SHRPX_QUIC_CID_PREFIXLEN = 8;
constexpr size_t SHRPX_MAX_UDP_PAYLOAD_SIZE = 1280;
constexpr size_t SHRPX_MAX_UDP_PAYLOAD_SIZE = NGTCP2_MAX_PKTLEN_IPV4;
constexpr size_t SHRPX_QUIC_STATELESS_RESET_SECRETLEN = 32;
constexpr size_t SHRPX_QUIC_TOKEN_SECRETLEN = 32;
constexpr size_t SHRPX_QUIC_TOKEN_RAND_DATALEN = 16;