1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00

include user when dispatch requests in VMess.

This commit is contained in:
Darien Raymond 2016-10-24 16:57:16 +02:00
parent 531be77a59
commit 369256c82f
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -169,6 +169,7 @@ func (this *VMessInboundHandler) HandleConnection(connection internet.Connection
ray := this.packetDispatcher.DispatchToOutbound(this.meta, &proxy.SessionInfo{ ray := this.packetDispatcher.DispatchToOutbound(this.meta, &proxy.SessionInfo{
Source: v2net.DestinationFromAddr(connection.RemoteAddr()), Source: v2net.DestinationFromAddr(connection.RemoteAddr()),
Destination: request.Destination(), Destination: request.Destination(),
User: request.User,
}) })
input := ray.InboundInput() input := ray.InboundInput()
output := ray.InboundOutput() output := ray.InboundOutput()