The first public release of Fabled Minstrel #158

Merged
bvandeusen merged 256 commits from dev into main 2026-12-03 21:41:58 -05:00
Showing only changes of commit b6ae3500ab - Show all commits
@@ -15,7 +15,6 @@ import okhttp3.Request
import okhttp3.Response
import java.io.IOException
import java.net.UnknownHostException
import java.security.GeneralSecurityException
import java.util.concurrent.TimeUnit
import javax.inject.Inject
import javax.net.ssl.SSLPeerUnverifiedException
@@ -154,7 +153,7 @@ class ServerProbe internal constructor(client: OkHttpClient, callTimeoutMillis:
private fun isCertificateFailure(e: IOException): Boolean =
generateSequence<Throwable>(e) { it.cause }
.take(MAX_CAUSE_DEPTH)
.any { it is SSLPeerUnverifiedException || it is GeneralSecurityException }
.any { it is SSLPeerUnverifiedException }
private suspend fun Call.await(): Response =
suspendCancellableCoroutine { continuation ->