refactor: remove conscrypt lib, use own trust manager, refine networking
problem in 5.2.3 version crash in main act
libc A Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 6215 (are-dns.com/...), pid 6140 (rerelease.debug)
20:27:13.627 DEBUG A Cmdline: com.lagradost.cloudstream3.prerelease.debug
20:27:13.627 A pid: 6140, tid: 6215, name: are-dns.com/... >>> com.lagradost.cloudstream3.prerelease.debug <<<
20:27:13.628 A #01 pc 0000000000140fbc /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/lib/arm64/libconscrypt_jni.so (X509_NAME_print+344) (BuildId: f1446306c60470b344a50f938f9632ca54d8b4e4)
20:27:13.628 A #02 pc 000000000014027c /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/lib/arm64/libconscrypt_jni.so (X509_print_ex+664) (BuildId: f1446306c60470b344a50f938f9632ca54d8b4e4)
20:27:13.628 A #03 pc 00000000000790d8 /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/lib/arm64/libconscrypt_jni.so (BuildId: f1446306c60470b344a50f938f9632ca54d8b4e4)
20:27:13.628 A #06 pc 0000000000467522 [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (org.conscrypt.OpenSSLX509Certificate.toString+34)
20:27:13.628 A #12 pc 000000000040b58a [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.internal.tls.BasicCertificateChainCleaner.clean+326)
20:27:13.628 A #14 pc 00000000003f1086 [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.internal.connection.ConnectPlan$connectTls$handshake$1.invoke+50)
20:27:13.628 A #16 pc 00000000003f1038 [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.internal.connection.ConnectPlan$connectTls$handshake$1.invoke+0)
20:27:13.628 A #18 pc 00000000003d797a [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.Handshake$peerCertificates$2.invoke+6)
20:27:13.628 A #20 pc 00000000003d7958 [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.Handshake$peerCertificates$2.invoke+0)
20:27:13.628 A #22 pc 00000000001f32a0 [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (kotlin.SynchronizedLazyImpl.getValue+48)
20:27:13.628 A #24 pc 00000000003d7d7c [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.Handshake.peerCertificates+4)
20:27:13.628 A #26 pc 00000000003d04f2 [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.Cache$Entry.writeTo+494)
20:27:13.629 A #28 pc 00000000003d143a [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.Cache.put$okhttp+186)
20:27:13.629 A #30 pc 00000000003eaffa [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.internal.cache.CacheInterceptor.intercept+746)
20:27:13.629 A #32 pc 00000000003f91b8 [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.internal.http.RealInterceptorChain.proceed+360)
20:27:13.629 A #34 pc 00000000003f7e34 [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.internal.http.BridgeInterceptor.intercept+352)
20:27:13.629 A #36 pc 00000000003f91b8 [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.internal.http.RealInterceptorChain.proceed+360)
20:27:13.629 A #38 pc 00000000003f9b74 [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept+104)
20:27:13.629 A #40 pc 00000000003f91b8 [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.internal.http.RealInterceptorChain.proceed+360)
20:27:13.629 A #42 pc 00000000003f4488 [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp+288)
20:27:13.629 A #44 pc 00000000003f3908 [anon:dalvik-classes25.dex extracted in memory from /data/app/~~JfrSIQZFGuephQTEoZjZ4g==/com.lagradost.cloudstream3.prerelease.debug-Mz1cwB9b8GbpSAOJie6mXw==/base.apk!classes25.dex] (okhttp3.internal.connection.RealCall$AsyncCall.run+100)
not any special reason, hashmap is not necessary, i can revert to map if you want , only thing that can be said it looks consistent or more like strict way of managing headers
This is still a draft, what are you plans?
This is still a draft, what are you plans?
I will upstream it and resolve conflicts this weekend.
I was planning to take this PR over as well, but it seems conscrypt does plan to fix the issue in a future version anyway, so I think it'd probably be best to just leave it at 5.2.2 and wait for the lib to be fixed. Or try and fix it in CS3 dor 5.2.3 (which might be possible but not sure).
I was planning to take this PR over as well, but it seems conscrypt does plan to fix the issue in a future version anyway, so I think it'd probably be best to just leave it at 5.2.2 and wait for the lib to be fixed. Or try and fix it in CS3 dor 5.2.3 (which might be possible but not sure).
https://github.com/google/conscrypt/issues/1345#issuecomment-3083204397