From 2f47074c985940ffa8d3e514beb267a9b60dbe71 Mon Sep 17 00:00:00 2001 From: v2ray Date: Thu, 2 Jun 2016 22:23:05 +0200 Subject: [PATCH] release buffer --- testing/servers/tcp/tcp.go | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/servers/tcp/tcp.go b/testing/servers/tcp/tcp.go index ee90d7150..e9ca4ca0a 100644 --- a/testing/servers/tcp/tcp.go +++ b/testing/servers/tcp/tcp.go @@ -50,6 +50,7 @@ func (server *Server) handleConnection(conn net.Conn) { break } response := server.MsgProcessor(request.Value) + request.Release() conn.Write(response) } conn.Close()