mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-08 02:00:43 +08:00
resize core bufsize
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
var pool *sync.Pool
|
||||
|
||||
const BufSize = 2 * 1024
|
||||
const BufSize = 32 * 1024
|
||||
|
||||
func SetBufferPool(p *sync.Pool) {
|
||||
pool = p
|
||||
|
Reference in New Issue
Block a user