- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for issues (0.22 sec)
-
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
} /** * Verify that we don't retry connections on certificate verification errors. * * http://code.google.com/p/android/issues/detail?id=13178 */ @Flaky @Test fun connectViaHttpsToUntrustedServer() { // Flaky https://github.com/square/okhttp/issues/5222 server.useHttps(handshakeCertificates.sslSocketFactory()) server.enqueue(MockResponse()) // unused assertFailsWith<IOException> {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
* https://github.com/square/okhttp/issues/5667 */ @Test fun hostToUriStripsCharacters() { val httpUrl = "http://example\".com/".toHttpUrl() assertThat(httpUrl.toUri().toString()).isEqualTo("http://example.com/") } /** Confirm that URI retains other characters. https://github.com/square/okhttp/issues/5236 */ @Test fun hostToUriStripsCharacters2() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt
assertThat(response.body.string()).isEqualTo("abc") assertThat(response.trailers()).isEqualTo(headersOf("caboose", "xyz")) } } @Disabled("Follow up with fix in https://github.com/square/okhttp/issues/6853") @Test fun serverDisconnectsBeforeSecondRequestHttp1() { enableProtocol(Protocol.HTTP_1_1) server.enqueue(MockResponse(code = 200, body = "Req1"))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt
import assertk.assertions.isNull import okhttp3.internal.http.parseChallenges import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test class HeadersChallengesTest { /** See https://github.com/square/okhttp/issues/2780. */ @Test fun testDigestChallengeWithStrictRfc2617Header() { val headers = Headers.Builder() .add( "WWW-Authenticate",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertInvalid("http://[::1%2544]", "Invalid URL host: \"[::1%2544]\"") } @Test fun hostIpv6AddressTooManyLeadingZeros() { // Guava's been buggy on this case. https://github.com/google/guava/issues/3116 assertInvalid( "http://[2001:db8:0:0:1:0:0:00001]", "Invalid URL host: \"[2001:db8:0:0:1:0:0:00001]\"", ) } @Test fun hostIpv6WithIpv4Suffix() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
} } /** Returns true if the certificate was signed by [issuer]. */ @Throws(SignatureException::class) fun checkSignature(issuer: PublicKey): Boolean { val signedData = CertificateAdapters.tbsCertificate.toDer(tbsCertificate) return Signature.getInstance(tbsCertificate.signatureAlgorithmName).run { initVerify(issuer) update(signedData.toByteArray())
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Viewed (0) -
docs/releasing.md
Releasing ========= ### Prerequisite: Sonatype (Maven Central) Account Create an account on the [Sonatype issues site][sonatype_issues]. Ask an existing publisher to open an issue requesting publishing permissions for `com.squareup` projects. Cutting a Release ----------------- 1. Update `CHANGELOG.md`. 2. Set versions: ``` export RELEASE_VERSION=X.Y.Z export NEXT_VERSION=X.Y.Z-SNAPSHOT ```
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Dec 26 22:07:16 GMT 2022 - 1.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/Flaky.kt
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.RUNTIME) /** * Annotation marking a test as flaky, and requires extra logging and linking against * a known github issue. This does not ignore the failure. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 902 bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
* Fix: Strictly verify hostnames used with OkHttp's `HostnameVerifier`. Programs that make direct manual calls to `HostnameVerifier` could be defeated if the hostnames they pass in are not strictly ASCII. This issue is tracked as [CVE-2021-0341]. ## Version 4.9.1 _2021-01-30_ * Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt
} } } /** * Overload of [schedule] that uses a lambda for a repeating task. * * TODO: make this inline once this is fixed: https://github.com/oracle/graal/issues/3466 */ fun schedule( name: String, delayNanos: Long = 0L, block: () -> Long, ) { schedule( object : Task(name) { override fun runOnce(): Long {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.5K bytes - Viewed (0)