fix: ipv6-only mode compatibility fixes (#23031)

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
Jian Qiu
2025-08-06 22:02:08 +08:00
committed by GitHub
co-authored by Qiu Jian
parent 634bdf7b90
commit d0ec6885d6
32 changed files with 249 additions and 113 deletions
+4
View File
@@ -418,6 +418,10 @@ func parseOptions(optStruct interface{}, args []string, configFileName string, s
consts.SetTaskWorkerCount(optionsRef.TaskWorkerCount)
consts.SetLocalTaskWorkerCount(optionsRef.LocalTaskWorkerCount)
consts.SetTaskArchiveThresholdHours(optionsRef.TaskArchiveThresholdHours)
if optionsRef.Address == "0.0.0.0" {
optionsRef.Address = ""
}
}
func (self *BaseOptions) HttpTransportProxyFunc() httputils.TransportProxyFunc {