remove goroutine on command handling

This commit is contained in:
Darien Raymond
2016-12-14 21:50:14 +01:00
parent d6a6e0aaf8
commit f47c21c422
+1 -1
View File
@@ -136,7 +136,7 @@ func (v *VMessOutboundHandler) handleResponse(session *encoding.ClientSession, c
log.Warning("VMess|Outbound: Failed to read response from ", request.Destination(), ": ", err)
return
}
go v.handleCommand(dest, header.Command)
v.handleCommand(dest, header.Command)
conn.SetReusable(header.Option.Has(protocol.ResponseOptionConnectionReuse))