Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for note (0.2 sec)

  1. docs/changelogs/changelog_4x.md

        locality and performance OkHttp attempts to use the same pooled connection across redirects and
        follow-ups. It independently shares connections when the IP addresses and certificates match,
        even if the host names do not. In 4.4.0 we introduced a regression where we shared a connection
        when certificates matched but the DNS addresses did not. This would only occur when following a
    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/internal/platform/Platform.kt

        return try {
          // Attempt to get the trust manager from an OpenJDK socket factory. We attempt this on all
          // platforms in order to support Robolectric, which mixes classes from both Android and the
          // Oracle JDK. Note that we don't support HTTP/2 or other nice features on Robolectric.
          val sslContextClass = Class.forName("sun.security.ssl.SSLContextImpl")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

       * Prepare for a potential trip through all of this call's network interceptors. This prepares to
       * find an exchange to carry the request.
       *
       * Note that an exchange will not be needed if the request is satisfied by the cache.
       *
       * @param newRoutePlanner true if this is not a retry and new routing can be performed.
       */
      fun enterNetworkInterceptorExchange(
        request: Request,
        newRoutePlanner: Boolean,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  4. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

        @Volatile private var queryParamsNameToRedact = emptySet<String>()
    
        @set:JvmName("level")
        @Volatile
        var level = Level.NONE
    
        enum class Level {
          /** No logs. */
          NONE,
    
          /**
           * Logs request and response lines.
           *
           * Example:
           * ```
           * --> POST /greeting http/1.1 (3-byte body)
           *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

     * migrate between certificate authorities. Do not use certificate pinning without the blessing of
     * your server's TLS administrator!
     *
     * ### Note about self-signed certificates
     *
     * [CertificatePinner] can not be used to pin self-signed certificate if such certificate is not
     * accepted by [javax.net.ssl.TrustManager].
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

        val source = this.source!!
        val sink = this.sink!!
        socket.soTimeout = 0 // HTTP/2 connection timeouts are set per-stream.
        val flowControlListener = connectionListener as? FlowControlListener ?: FlowControlListener.None
        val http2Connection =
          Http2Connection.Builder(client = true, taskRunner)
            .socket(socket, route.address.url.host, source, sink)
            .listener(this)
            .pingIntervalMillis(pingIntervalMillis)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     *
     *  * **A validity interval.** A certificate should not be used before its validity interval starts
     *    or after it ends.
     *
     *  * **A public key.** This cryptographic key is used for asymmetric encryption digital signatures.
     *    Note that the private key is not a part of the certificate!
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  8. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

          "Server-sent frames must not be masked.",
        )
        server.listener.assertClosing(1000, "Hello")
        server.listener.assertExhausted() // Client should not have sent second close.
      }
    
      @Test
      fun protocolErrorAfterCloseDoesNotSendClose() {
        client.webSocket!!.close(1000, "Hello!")
        server.processNextFrame()
    
        // Not closed until close reply is received.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Request.kt

        /**
         * Override the [Request.url] for caching, if it is either polluted with
         * transient query params, or has a canonical URL possibly for a CDN.
         *
         * Note that POST requests will not be sent to the server if this URL is set
         * and matches a cached response.
         */
        fun cacheUrlOverride(cacheUrlOverride: HttpUrl?) =
          apply {
            this.cacheUrlOverride = cacheUrlOverride
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Headers.kt

      /**
       * Returns true if `other` is a `Headers` object with the same headers, with the same casing, in
       * the same order. Note that two headers instances may be *semantically* equal but not equal
       * according to this method. In particular, none of the following sets of headers are equal
       * according to this method:
       *
       * 1. Original
       * ```
       * Content-Type: text/html
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
Back to top