Fix large torrent list parsing

This commit is contained in:
FooIbar committed 2023-10-23 02:25:17 +08:00
1 parent 34a8f92865
commit 7ea2597899
1 file changed
+1 -1
@@ -116,7 +116,7 @@ private fun rethrowExactly(code: Int, body: String, e: Throwable): Nothing {
throw e
}
val httpContentPool = DirectByteBufferPool(16, 16384)
val httpContentPool = DirectByteBufferPool(16, 0x20000)
suspend inline fun <T> fetchCompat(url: String, referer: String? = null, crossinline parser: (ByteBuffer) -> T): T {
return if (isCronetSupported) {