Let okhttp verify the host
This commit is contained in:
1 file changed
-1
@@ -156,7 +156,6 @@ public class EhApplication extends SceneApplication {
|
||||
.callTimeout(10, TimeUnit.SECONDS)
|
||||
.cookieJar(getEhCookieStore(application))
|
||||
.cache(getOkHttpCache(application))
|
||||
.hostnameVerifier((hostname, session) -> true)
|
||||
.dns(new EhDns(application))
|
||||
.addNetworkInterceptor(chain -> {
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user