mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-03 16:07:16 -05:00
implement system network environment
This commit is contained in:
parent
94639807ad
commit
0e519b9fb3
@ -166,6 +166,8 @@ func (p *proxyEnvImpl) NarrowScopeToTransport(key string) (TransportEnvironment,
|
||||
return &transportEnvImpl{
|
||||
ctx: p.ctx,
|
||||
transientStorage: transientStorage,
|
||||
systemDialer: p.systemDialer,
|
||||
systemListener: p.systemListener,
|
||||
}, nil
|
||||
}
|
||||
|
||||
@ -190,11 +192,11 @@ func (t *transportEnvImpl) RecordLog() interface{} {
|
||||
}
|
||||
|
||||
func (t *transportEnvImpl) Dialer() internet.SystemDialer {
|
||||
panic("implement me")
|
||||
return t.systemDialer
|
||||
}
|
||||
|
||||
func (t *transportEnvImpl) Listener() internet.SystemListener {
|
||||
panic("implement me")
|
||||
return t.systemListener
|
||||
}
|
||||
|
||||
func (t *transportEnvImpl) OutboundDialer() tagged.DialFunc {
|
||||
|
Loading…
Reference in New Issue
Block a user