Default 64 MiB max unverified bytes
This commit is contained in:
parent
eb7811f909
commit
88a867ef9c
@ -201,9 +201,8 @@ func NewDefaultClientConfig() *ClientConfig {
|
|||||||
ListenPort: 42069,
|
ListenPort: 42069,
|
||||||
Extensions: defaultPeerExtensionBytes(),
|
Extensions: defaultPeerExtensionBytes(),
|
||||||
AcceptPeerConnections: true,
|
AcceptPeerConnections: true,
|
||||||
|
MaxUnverifiedBytes: 64 << 20,
|
||||||
}
|
}
|
||||||
// cc.ConnTracker.SetNoMaxEntries()
|
|
||||||
// cc.ConnTracker.Timeout = func(conntrack.Entry) time.Duration { return 0 }
|
|
||||||
return cc
|
return cc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user