mirror of https://github.com/v2ray/v2ray-core
warning message for global trasnport config
parent
5aee521798
commit
86f8fe4eb4
|
@ -1,6 +1,9 @@
|
||||||
package internet
|
package internet
|
||||||
|
|
||||||
import "v2ray.com/core/common/serial"
|
import (
|
||||||
|
"v2ray.com/core/common/serial"
|
||||||
|
"v2ray.com/core/features"
|
||||||
|
)
|
||||||
|
|
||||||
type ConfigCreator func() interface{}
|
type ConfigCreator func() interface{}
|
||||||
|
|
||||||
|
@ -107,6 +110,7 @@ func (c *StreamConfig) HasSecuritySettings() bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
func ApplyGlobalTransportSettings(settings []*TransportConfig) error {
|
func ApplyGlobalTransportSettings(settings []*TransportConfig) error {
|
||||||
|
features.PrintDeprecatedFeatureWarning("global transport settings")
|
||||||
globalTransportSettings = settings
|
globalTransportSettings = settings
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue