mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-05 08:56:49 -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{
|
return &transportEnvImpl{
|
||||||
ctx: p.ctx,
|
ctx: p.ctx,
|
||||||
transientStorage: transientStorage,
|
transientStorage: transientStorage,
|
||||||
|
systemDialer: p.systemDialer,
|
||||||
|
systemListener: p.systemListener,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -190,11 +192,11 @@ func (t *transportEnvImpl) RecordLog() interface{} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (t *transportEnvImpl) Dialer() internet.SystemDialer {
|
func (t *transportEnvImpl) Dialer() internet.SystemDialer {
|
||||||
panic("implement me")
|
return t.systemDialer
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *transportEnvImpl) Listener() internet.SystemListener {
|
func (t *transportEnvImpl) Listener() internet.SystemListener {
|
||||||
panic("implement me")
|
return t.systemListener
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *transportEnvImpl) OutboundDialer() tagged.DialFunc {
|
func (t *transportEnvImpl) OutboundDialer() tagged.DialFunc {
|
||||||
|
Loading…
Reference in New Issue
Block a user