This commit is contained in:
lixiaopeng
2021-03-31 15:48:49 +08:00
parent 4965cb82fc
commit 7290d41b2b
14 changed files with 229 additions and 39 deletions

View File

@@ -80,7 +80,6 @@ class HttpClient private constructor(baseUrl: String) {
if (httpDns != null) {
builder.dns(Dns { hostname: String? ->
val addresses = httpDns.lookup(hostname)
// Log.d("liyz", "addresses 1 = $addresses")
if (addresses != null && !addresses.isEmpty()) {
return@Dns addresses
}