Enlarge receive buffer

This commit is contained in:
Tatsuhiro Tsujikawa 2021-03-17 18:56:34 +09:00
parent dc3ca53a8e
commit 2321253545
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ void Client::quic_restart_pkt_timer() {
} }
int Client::read_quic() { int Client::read_quic() {
std::array<uint8_t, 1500> buf; std::array<uint8_t, 65536> buf;
sockaddr_union su; sockaddr_union su;
socklen_t addrlen = sizeof(su); socklen_t addrlen = sizeof(su);
int rv; int rv;