mirror of
https://github.com/fosrl/newt.git
synced 2026-04-10 20:06:38 +00:00
- Add udpBufferPool for reusable 65507-byte UDP packet buffers - Add getUDPBuffer() and putUDPBuffer() helper functions - Clear buffer contents before returning to pool to prevent data leakage - Apply pooling to both main handler buffer and per-client goroutine buffers - Reduces GC pressure from frequent large allocations during UDP proxying Made-with: Cursor
22 KiB
22 KiB