simplify tcp connection

This commit is contained in:
v2ray
2016-05-02 23:53:16 +02:00
parent 406360ed3e
commit f594f5b606
7 changed files with 18 additions and 115 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ func (this *Shadowsocks) handlerUDPPayload(payload *alloc.Buffer, source v2net.D
})
}
func (this *Shadowsocks) handleConnection(conn hub.Connection) {
func (this *Shadowsocks) handleConnection(conn *hub.Connection) {
defer conn.Close()
buffer := alloc.NewSmallBuffer()