Revert "Add quichint"

This reverts commit 4e427f27
This commit is contained in:
FooIbar committed 2023-08-16 23:50:20 +08:00
1 parent f117abd483
commit 37a3edd44b
1 file changed
-3
@@ -33,9 +33,6 @@ val cronetHttpClient: CronetEngine = CronetEngine.Builder(appCtx).apply {
val cache = (appCtx.cacheDir.toOkioPath() / "http_cache").toFile().apply { mkdirs() }
setStoragePath(cache.absolutePath)
enableHttpCache(CronetEngine.Builder.HTTP_CACHE_DISK_NO_HTTP, 100 * 1024)
addQuicHint("e-hentai.org", 443, 443)
addQuicHint("forums.e-hentai.org", 443, 443)
addQuicHint("exhentai.org", 443, 443)
}.build()
val cronetHttpClientExecutor = EhApplication.baseOkHttpClient.dispatcher.executorService