We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d73f87 commit 203925dCopy full SHA for 203925d
lib/src/test/java/at/bitfire/cert4android/CustomCertManagerTest.kt
@@ -100,6 +100,8 @@ class CustomCertManagerTest {
100
fun getSiteCertificates(url: URL): List<X509Certificate> {
101
val conn = url.openConnection() as HttpsURLConnection
102
try {
103
+ conn.connectTimeout = 5000
104
+ conn.readTimeout = 5000
105
conn.hostnameVerifier = HostnameVerifier { _, _ -> true }
106
conn.sslSocketFactory = SSLContext.getInstance("TLS").apply {
107
init(
0 commit comments