Slightly increase the MTU

This commit is contained in:
QuantumEntangledAndy committed 2023-05-17 11:16:18 +07:00
1 parent c2a5798905
commit 99584ce813
2 files changed
+2 -2

No files matched your search

@@ -58,7 +58,7 @@ struct UidLookupResults {
pub(crate) struct Discovery {}
const MTU: u32 = 1030;
const MTU: u32 = 1350;
lazy_static! {
static ref P2P_RELAY_HOSTNAMES: [&'static str; 10] = [
"p2p.reolink.com",
@@ -28,7 +28,7 @@ use tokio_util::{
udp::UdpFramed,
};
const MTU: usize = 1030;
const MTU: usize = 1350;
const UDPDATA_HEADER_SIZE: usize = 20;
pub(crate) struct UdpSource {