mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
Pass unused data into Receiver
This commit is contained in:
parent
09bf78a089
commit
a00c0764e5
@ -18,6 +18,7 @@ type UnixInboundHandler struct {
|
||||
path string
|
||||
proxy proxy.Inbound
|
||||
mux *mux.Server
|
||||
additional *proxyman.UnixReceiverConfig
|
||||
}
|
||||
|
||||
func (uih *UnixInboundHandler) Start() {
|
||||
@ -86,11 +87,12 @@ func NewUnixInboundHandler(ctx context.Context, tag string, receiverConfig *prox
|
||||
}
|
||||
|
||||
h := &UnixInboundHandler{
|
||||
proxy: p,
|
||||
mux: mux.NewServer(ctx),
|
||||
tag: tag,
|
||||
ctx: ctx,
|
||||
path: receiverConfig.DomainSockSettings.GetPath(),
|
||||
proxy: p,
|
||||
mux: mux.NewServer(ctx),
|
||||
tag: tag,
|
||||
ctx: ctx,
|
||||
path: receiverConfig.DomainSockSettings.GetPath(),
|
||||
additional: receiverConfig,
|
||||
}
|
||||
|
||||
return h, nil
|
||||
|
Loading…
Reference in New Issue
Block a user