mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-01-19 14:59:03 +00:00
Preallocate buffers so we don't explode limit
This commit is contained in:
parent
ffd392a526
commit
059ccea40a
@ -52,6 +52,7 @@ var tunnelHandles map[int32]*Device
|
||||
|
||||
func init() {
|
||||
versionString = C.CString(WireGuardGoVersion)
|
||||
preallocatedBuffers = 64
|
||||
roamingDisabled = true
|
||||
tunnelHandles = make(map[int32]*Device)
|
||||
signals := make(chan os.Signal)
|
||||
|
Loading…
Reference in New Issue
Block a user