fatedier
8f633fe363
fix: return buffers to pool on error paths to reduce GC pressure ( #5203 )
...
- pkg/nathole/nathole.go: add pool.PutBuf(buf) on ReadFromUDP error
and DecodeMessageInto error paths in waitDetectMessage
- pkg/proto/udp/udp.go: add defer pool.PutBuf(buf) in writerFn to
ensure buffer is returned when the goroutine exits
2026-03-06 15:55:22 +08:00
fatedier
462c987f6d
pkg/msg: change UDPPacket.Content from string to []byte to avoid redundant base64 encode/decode ( #5198 )
2026-03-06 01:38:24 +08:00
fatedier
3370bd53f5
udp: fix proxy protocol header sent on every packet instead of first packet only ( #5119 )
2026-01-09 11:33:00 +08:00
fatedier
720c09c06b
update test package ( #4814 )
2025-06-25 11:40:23 +08:00
fatedier
3fa76b72f3
add proxy protocol support for UDP proxies ( #4810 )
2025-06-25 11:40:23 +08:00
fatedier
9d077b02cf
lint by golangci-lint ( #3080 )
2022-08-29 01:02:53 +08:00
fatedier
3fbdea0f6b
rename models to pkg ( #2005 )
2020-09-23 13:49:14 +08:00