Restrict max_recv_size to 1 GiB