Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for manager (0.28 sec)

  1. docs/changelogs/changelog_4x.md

        had a crash `IllegalArgumentException: Not a Conscrypt trust manager` because we depended on
        initialization order of companion objects.
    
    
    ## Version 4.7.1
    
    _2020-05-18_
    
     *  Fix: Pass the right arguments in the trust manager created for `addInsecureHost()`. Without the
        fix insecure hosts crash with an `IllegalArgumentException` on Android.
    
    
    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)
  2. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

    import okhttp3.internal.connection.ForceConnectRoutePlanner
    import okhttp3.internal.connection.RealConnectionPool
    import okhttp3.internal.connection.RealRoutePlanner
    import okhttp3.internal.connection.RouteDatabase
    
    /**
     * Manages reuse of HTTP and HTTP/2 connections for reduced network latency. HTTP requests that
     * share the same [Address] may share a [Connection]. This class implements the policy
     * of which connections to keep open for future use.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 20:39:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          this.headerBlock = headerBlock
        }
    
        override fun alternateService(
          streamId: Int,
          origin: String,
          protocol: ByteString,
          host: String,
          port: Int,
          maxAge: Long,
        ) {
          throw UnsupportedOperationException()
        }
      }
    
      companion object {
        private val logger = Logger.getLogger(MockHttp2Peer::class.java.name)
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

                "Unable to extract the trust manager on ${Platform.get()}, " +
                  "sslSocketFactory is ${sslSocketFactory.javaClass}",
              )
            this.certificateChainCleaner =
              Platform.get().buildCertificateChainCleaner(x509TrustManagerOrNull!!)
          }
    
        /**
         * Sets the socket factory and trust manager used to secure HTTPS connections. If unset, the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        }
      }
    
      @Throws(Exception::class)
      private fun processHandshakeFailure(raw: Socket) {
        val context = SSLContext.getInstance("TLS")
        context.init(null, arrayOf<TrustManager>(UNTRUSTED_TRUST_MANAGER), SecureRandom())
        val sslSocketFactory = context.socketFactory
        val socket =
          sslSocketFactory.createSocket(
            raw,
            raw.inetAddress.hostAddress,
            raw.port,
            true,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  6. CHANGELOG.md

        lookup for the local hostname, but we really just wanted the `Host` header.
     *  Fix: Don't crash with a `InaccessibleObjectException` when detecting the platform trust manager
        on Java 17+.
     *  Fix: Don't crash if a cookie's value is a lone double quote character.
     *  Fix: Don't crash when canceling an event source created by `EventSources.processResponse()`.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

            if (noCache) append("no-cache, ")
            if (noStore) append("no-store, ")
            if (maxAgeSeconds != -1) append("max-age=").append(maxAgeSeconds).append(", ")
            if (sMaxAgeSeconds != -1) append("s-maxage=").append(sMaxAgeSeconds).append(", ")
            if (isPrivate) append("private, ")
            if (isPublic) append("public, ")
            if (mustRevalidate) append("must-revalidate, ")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Cache.kt

     * efficient `max-age=0` directive instead:
     *
     * ```java
     * Request request = new Request.Builder()
     *     .cacheControl(new CacheControl.Builder()
     *         .maxAge(0, TimeUnit.SECONDS)
     *         .build())
     *     .url("http://publicobject.com/helloworld.txt")
     *     .build();
     * ```
     *
     * ## Force a Cache Response
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CacheTest.kt

            .addHeader("Cache-Control: s-maxage=60")
            .addHeader("Cache-Control: max-age=180")
            .build(),
        )
      }
    
      @Test
      fun maxAgePreferredOverHigherMaxAge() {
        assertNotCached(
          MockResponse.Builder()
            .addHeader("Date: " + formatDate(-2, TimeUnit.MINUTES))
            .addHeader("Cache-Control: s-maxage=180")
            .addHeader("Cache-Control: max-age=60")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top