From 369256c82f61d2d7ec86c3fc179f4fe37ce93855 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Mon, 24 Oct 2016 16:57:16 +0200 Subject: [PATCH] include user when dispatch requests in VMess. --- proxy/vmess/inbound/inbound.go | 1 + 1 file changed, 1 insertion(+) diff --git a/proxy/vmess/inbound/inbound.go b/proxy/vmess/inbound/inbound.go index 01858beed..1833c0e8c 100644 --- a/proxy/vmess/inbound/inbound.go +++ b/proxy/vmess/inbound/inbound.go @@ -169,6 +169,7 @@ func (this *VMessInboundHandler) HandleConnection(connection internet.Connection ray := this.packetDispatcher.DispatchToOutbound(this.meta, &proxy.SessionInfo{ Source: v2net.DestinationFromAddr(connection.RemoteAddr()), Destination: request.Destination(), + User: request.User, }) input := ray.InboundInput() output := ray.InboundOutput()