소스 검색

remove goroutine on command handling

Darien Raymond 9 년 전
부모
커밋
f47c21c422
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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))