吴述军 Brant

Results 4 comments of 吴述军 Brant

可以发一份swift 的demo吗? [email protected] 能推到github上最好,还是有人需要的

I fix this by change FoundationTransport.swift : ```swift if isTLS { let key = CFStreamPropertyKey(rawValue: kCFStreamPropertySocketSecurityLevel) CFReadStreamSetProperty(inStream, key, kCFStreamSocketSecurityLevelNegotiatedSSL) CFWriteStreamSetProperty(outStream, key, kCFStreamSocketSecurityLevelNegotiatedSSL) // my code let dict = [ kCFStreamSSLValidatesCertificateChain:...

So am I. Now i try to use FoundationTransport only. In my case, Some users will have this problem when using 4G network, but it is normal under wifi.