simplify tcp connection

This commit is contained in:
v2ray committed 2016-05-02 23:53:16 +02:00
1 parent 406360ed3e
commit f594f5b606
7 files changed
+18 -115

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ func (this *VMessInboundHandler) Listen(port v2net.Port) error {
return nil
}
func (this *VMessInboundHandler) HandleConnection(connection hub.Connection) {
func (this *VMessInboundHandler) HandleConnection(connection *hub.Connection) {
defer connection.Close()
connReader := v2net.NewTimeOutReader(16, connection)