refactor: apply renamed NewBytesPool with GetBytesPool

This commit is contained in:
yusing
2025-09-02 22:46:16 +08:00
parent c128557c81
commit b051987a1c
5 changed files with 5 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ const (
udpReadTimeout = 30 * time.Second
)
var bufPool = synk.NewBytesPool()
var bufPool = synk.GetBytesPool()
func NewUDPUDPStream(listenAddr, dstAddr string) (nettypes.Stream, error) {
dst, err := net.ResolveUDPAddr("udp", dstAddr)