1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-10-17 14:34:04 -04:00

remove small buffer pool

This commit is contained in:
Darien Raymond
2016-11-01 12:37:35 +01:00
parent aabb9137e1
commit 43dacc3936
4 changed files with 2 additions and 17 deletions

View File

@@ -126,9 +126,6 @@ func (this *Server) handlerUDPPayload(payload *alloc.Buffer, session *proxy.Sess
func (this *Server) handleConnection(conn internet.Connection) {
defer conn.Close()
buffer := alloc.NewSmallBuffer()
defer buffer.Release()
timedReader := v2net.NewTimeOutReader(16, conn)
defer timedReader.Release()