aioquic defines PACKET_LENGTH_MAX in src/aioquic/_crypto.c as 1500. However, this limit is not advertised to the peer via max_udp_payload_size. In case of loopback, larger packets (for instance of size 9216 bytes) can be transmitted, which are dropped by aioquic without notifying the peer, while the peer is stuck in a retransmission loop. Additionally, QUICConfiguration does not expose a way to modify this limit via max_udp_payload_size so it could be advertised to the peer.