Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for issue (0.2 sec)

  1. 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)
  2. 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)
  3. .github/ISSUE_TEMPLATE/question.md

    ---
    name: Question
    about: Use Stack Overflow instead
    title: "\U0001F649"
    labels: ''
    assignees: ''
    
    ---
    
    🛑 𝙎𝙏𝙊𝙋
    
    This issue tracker is not the place for questions!
    
    If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use Stack Overflow. https://stackoverflow.com/questions/tagged/okhttp
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 30 18:42:51 GMT 2018
    - 406 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

            .serialNumber(1L)
            .certificateAuthority(1)
            .commonName("root")
            .build()
    
        // Add a good intermediate CA, and have that issue a good certificate to localhost. Prepare an
        // SSL context for an HTTP client under attack. It includes the trusted CA and a pinned
        // certificate.
        val goodIntermediateCa =
          HeldCertificate.Builder()
            .signedBy(rootCa)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 23.8K bytes
    - Viewed (0)
Back to top