1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-27 09:55:22 +00:00

remove goroutine on command handling

This commit is contained in:
Darien Raymond 2016-12-14 21:50:14 +01:00
parent d6a6e0aaf8
commit f47c21c422
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

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))