mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-05 00:47:51 -05:00
warning message for global trasnport config
This commit is contained in:
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
Block a user