fix
This commit is contained in:
parent
76242e0ef1
commit
a4267e0d30
@ -455,7 +455,6 @@ actor SDLContextActor {
|
||||
self.ipv6AssistClient = SDLIPV6AssistClient(assistServerInfo: welcome.ipv6Assist)
|
||||
await self.ipv6AssistClient?.start()
|
||||
|
||||
SDLLogger.log("[SDLContext] v6 assist client: \(self.ipv6AssistClient)")
|
||||
// 通过 welcome信息拿到当前可用使用的ipv6地址
|
||||
// 处理心跳逻辑
|
||||
self.stunRequestTask = Task.detached {
|
||||
@ -464,8 +463,6 @@ actor SDLContextActor {
|
||||
|
||||
for await _ in timerStream.stream {
|
||||
let probeReply = try? await self.ipv6AssistClient?.probe(requestTimeout: .seconds(3))
|
||||
|
||||
SDLLogger.log("[SDLContext] probe ipv6 address: \(probeReply)")
|
||||
if let v6Info = probeReply?.v6Info, let v6Address = SDLUtil.ipv6DataToString(v6Info.v6) {
|
||||
SDLLogger.log("[SDLContext] probe ipv6 address: \(v6Address)")
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user