- 问题:HTTPDNS iOS SDK:我现在的版本是1.1.1(或之前版本),请问 iOS 的 sdk 这个错误修复了吗? 问题代码如下:
- - [HttpdnsRequest strean:handleEvent:];[HttpdnsRequest sendHTTPResquest:error:]_block_invoke
- -[HttpdnsRequest sendHTTPSRequest:error:](HttpdnsRequest.m:156) 0x00000001008d6c20
- -[HttpdnsRequest lookupHostFromServer:error:] (HttpdnsRequest.A3m:113) 0x00000001008d59f8
- -[HttpdnsRequestScheduler executeRequest:synchronously:retryCount:](HttpdnsRequestScheduler.m:158)0x00000001008d5a60
- -[HttpdnsRequestScheduler executeRequest:synchronously:retryCount:](HttpdnsRequestScheduler.m:161)0x00000001008d5188
- -[HttpdnsRequestScheduler addSingleHostAndLookup:synchronously:](HttpdnsRequestScheduler.m:111)0x00000001008d3984
- -[HttpDnsService getIpsByHost:](HttpdnsServiceProvider.m:95)0x00000001008d37e8
- -[HttpDnsService getIpByHost:](B4HttpdnsServiceProvider.m:69)0x00000001008d3bb0
- -[HttpDnsService getIpByHostInURLFormat:](HttpdnsServiceProvider.m:111)
解答: 这个问题是 1.1.1 以及之前版本遗留的 bug,最新版本已经修复。建议更新到最新版。