Pass unused data into Receiver

pull/1019/head
Shelikhoo 2018-03-28 20:09:43 +08:00
parent 09bf78a089
commit a00c0764e5
No known key found for this signature in database
GPG Key ID: 7791BDB0709ABD21
1 changed files with 7 additions and 5 deletions

View File

@ -18,6 +18,7 @@ type UnixInboundHandler struct {
path string
proxy proxy.Inbound
mux *mux.Server
additional *proxyman.UnixReceiverConfig
}
func (uih *UnixInboundHandler) Start() {
@ -91,6 +92,7 @@ func NewUnixInboundHandler(ctx context.Context, tag string, receiverConfig *prox
tag: tag,
ctx: ctx,
path: receiverConfig.DomainSockSettings.GetPath(),
additional: receiverConfig,
}
return h, nil