Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for karen (0.15 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

          "Invalid URL host: \"[::0000:0000:0000:0000::0001]\"",
        )
      }
    
      @Test
      fun hostIpv6ScopedAddress() {
        // java.net.InetAddress parses scoped addresses. These aren't valid in URLs.
        assertInvalid("http://[::1%2544]", "Invalid URL host: \"[::1%2544]\"")
      }
    
      @Test
      fun hostIpv6AddressTooManyLeadingZeros() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt

     * certificate is signed by the certificate that follows, and the last certificate is a trusted CA
     * certificate.
     *
     * Use of the chain cleaner is necessary to omit unexpected certificates that aren't relevant to
     * the TLS handshake and to extract the trusted CA certificate for the benefit of certificate
     * pinning.
     */
    abstract class CertificateChainCleaner {
      @Throws(SSLPeerUnverifiedException::class)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. CHANGELOG.md

        Do not use these experimental APIs in modules that may be executed using a version of OkHttp
        different from the version that the module was compiled with. Do not use them in published
        libraries. Do not use them if you aren't willing to track changes to them.
    
     *  Breaking: Drop support for Kotlin Multiplatform.
    
        We planned to support multiplatform in OkHttp 5.0, but after building it, we weren't happy with
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        // We can't begin the edit if writing 'DIRTY' fails.
        filesystem.setFaultyWrite(journalFile, true)
        assertThat(cache.edit("c")).isNull()
    
        // Once the journal has a failure, subsequent writes aren't permitted.
        filesystem.setFaultyWrite(journalFile, false)
        assertThat(cache.edit("d")).isNull()
    
        // Confirm that the fault didn't corrupt entries stored before the fault was introduced.
        cache.close()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  5. docs/features/caching.md

    As recommended by the HTTP RFC the max age of a document is defaulted to 10% of the 
    document's age at the time it was served based on "Last-Modified". Default expiration dates aren't used for URIs 
    containing a query.
    
     - CallStart
     - **CacheHit**
     - CallEnd
     
    ### Cache Miss
    
    Under a cache miss the normal request events are seen but an additional event shows the presence of the cache.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

    class CustomTrust {
      // PEM files for root certificates of Comodo and Entrust. These two CAs are sufficient to view
      // https://publicobject.com (Comodo) and https://squareup.com (Entrust). But they aren't
      // sufficient to connect to most HTTPS sites including https://godaddy.com and https://visa.com.
      // Typically developers will need to get a PEM file from their organization's TLS administrator.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.8K bytes
    - Viewed (5)
  7. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

       * 3.7.0 this is also true. But OkHttp 3.3.1 through 3.6.0 treated these as different.
       */
      @Test
      fun forJavaName_fromLegacyEnumName() {
        // These would have been considered equal in OkHttp 3.3.1, but now aren't.
        assertThat(forJavaName("SSL_RSA_EXPORT_WITH_RC4_40_MD5"))
          .isEqualTo(forJavaName("TLS_RSA_EXPORT_WITH_RC4_40_MD5"))
        assertThat(forJavaName("SSL_DH_RSA_EXPORT_WITH_DES40_CBC_SHA"))
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        evictAllConnections(pool)
        assertThat(pool.connectionCount()).isEqualTo(2)
        forceConnectionsToExpire(pool, expireTime)
        assertThat(pool.connectionCount()).isEqualTo(2)
    
        // Excess connections aren't removed until they idle out, even if no longer needed
        setPolicy(pool, address, ConnectionPool.AddressPolicy(1))
        assertThat(pool.connectionCount()).isEqualTo(2)
        forceConnectionsToExpire(pool, expireTime)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_3x.md

        supported on Android, Java, or Conscrypt.
    
        We removed this cipher suite and `TLS_AES_128_CCM_SHA256` from the restricted, modern, and
        compatible sets of cipher suites. These two cipher suites aren't enabled by default in either
        Firefox or Chrome.
    
        See our [TLS Configuration History][tls_configuration_history] tracker for a log of all changes
        to OkHttp's default TLS options.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/ExperimentalOkHttpApi.kt

     * the version the module was compiled with.
     *
     * Do not use these APIs in published libraries.
     *
     * Do not use these APIs if you aren't willing to track changes to them.
     */
    @MustBeDocumented
    @Retention(value = AnnotationRetention.BINARY)
    @Target(
      AnnotationTarget.CLASS,
      AnnotationTarget.ANNOTATION_CLASS,
      AnnotationTarget.PROPERTY,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top