mirror of https://github.com/v2ray/v2ray-core
Pass unused data into Receiver
parent
09bf78a089
commit
a00c0764e5
|
@ -18,6 +18,7 @@ type UnixInboundHandler struct {
|
||||||
path string
|
path string
|
||||||
proxy proxy.Inbound
|
proxy proxy.Inbound
|
||||||
mux *mux.Server
|
mux *mux.Server
|
||||||
|
additional *proxyman.UnixReceiverConfig
|
||||||
}
|
}
|
||||||
|
|
||||||
func (uih *UnixInboundHandler) Start() {
|
func (uih *UnixInboundHandler) Start() {
|
||||||
|
@ -91,6 +92,7 @@ func NewUnixInboundHandler(ctx context.Context, tag string, receiverConfig *prox
|
||||||
tag: tag,
|
tag: tag,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
path: receiverConfig.DomainSockSettings.GetPath(),
|
path: receiverConfig.DomainSockSettings.GetPath(),
|
||||||
|
additional: receiverConfig,
|
||||||
}
|
}
|
||||||
|
|
||||||
return h, nil
|
return h, nil
|
||||||
|
|
Loading…
Reference in New Issue