Files
Greg Wedow be3c34c603 wgengine, tsnet: allow passing wireguard-go DeviceOptions
Plumb a WGDeviceOptions field from tsnet.Server and wgengine.Config
through to wireguard-go's NewDevice. This lets callers running many
tsnet.Server instances in one process share a single set of buffer
pools (via device.OptionPools) instead of each Device retaining its
own, which otherwise dominates the heap at scale.

Both fields are optional; unset behavior is unchanged.
2026-07-16 20:13:51 +00:00
..