From f47c21c422cbbb6530cd9b7ae61eee18dea9ef40 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Wed, 14 Dec 2016 21:50:14 +0100 Subject: [PATCH] remove goroutine on command handling --- proxy/vmess/outbound/outbound.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/vmess/outbound/outbound.go b/proxy/vmess/outbound/outbound.go index c3870872..9fe74535 100644 --- a/proxy/vmess/outbound/outbound.go +++ b/proxy/vmess/outbound/outbound.go @@ -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))