Explorar el Código

remove goroutine on command handling

Darien Raymond hace 9 años
padre
commit
f47c21c422
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      proxy/vmess/outbound/outbound.go

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