Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Dover (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

        if (http2Connection == null) return false
    
        // 2. The routes must share an IP address.
        if (routes == null || !routeMatchesAny(routes)) return false
    
        // 3. This connection's server certificate's must cover the new host.
        if (address.hostnameVerifier !== OkHostnameVerifier) return false
        if (!supportsUrl(address.url)) return false
    
        // 4. Certificate pinning must match the host.
        try {
    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)
  2. docs/changelogs/changelog_4x.md

    
    ## Version 4.7.0
    
    _2020-05-17_
    
     *  New: `HandshakeCertificates.Builder.addInsecureHost()` makes it easy to turn off security in
        private development environments that only carry test data. Prefer this over creating an
        all-trusting `TrustManager` because only hosts on the allowlist are insecure. From
        [our DevServer sample][dev_server]:
    
        ```kotlin
        val clientCertificates = HandshakeCertificates.Builder()
    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. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

      // These properties are initialized by connect() and never reassigned.
    
      /** The low-level TCP socket. */
      private var rawSocket: Socket? = null
    
      /**
       * The application layer socket. Either an [SSLSocket] layered over [rawSocket], or [rawSocket]
       * itself if this connection does not use SSL.
       */
      internal var socket: Socket? = null
      private var handshake: Handshake? = null
      private var protocol: Protocol? = null
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

       * but the corresponding responses will not be stored.
       */
      @Throws(IOException::class)
      fun evictAll() {
        cache.evictAll()
      }
    
      /**
       * Returns an iterator over the URLs in this cache. This iterator doesn't throw
       * `ConcurrentModificationException`, but if new responses are added while iterating, their URLs
    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)
  5. okhttp/src/main/kotlin/okhttp3/Response.kt

       * client.
       */
      @get:JvmName("priorResponse") val priorResponse: Response?,
      /**
       * Returns a [timestamp][System.currentTimeMillis] taken immediately before OkHttp
       * transmitted the initiating request over the network. If this response is being served from the
       * cache then this is the timestamp of the original request.
       */
      @get:JvmName("sentRequestAtMillis") val sentRequestAtMillis: Long,
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

            }
          }
        }
    
        return response
      }
    
      /**
       * Returns a new source that writes bytes to [cacheRequest] as they are read by the source
       * consumer. This is careful to discard bytes left over when the stream is closed; otherwise we
       * may never exhaust the source stream and therefore not complete the cached response.
       */
      @Throws(IOException::class)
      private fun cacheWritingResponse(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. CHANGELOG.md

     *  Fix: Don't crash when a fast fallback call has both a deferred connection and a held connection.
     *  Fix: `OkHttpClient` no longer implements `Cloneable`. It never should have; the class is
        immutable. This is left over from OkHttp 2.x (!) when that class was mutable. We're using the
        5.x upgrade as an opportunity to remove very obsolete APIs.
     *  Fix: Recover gracefully when Android's `NativeCrypto` crashes with `"ssl == null"`. This occurs
    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)
  8. okhttp/src/main/kotlin/okhttp3/Cookie.kt

                sameSite = attributeValue
              }
            }
    
            pos = attributePairEnd + 1
          }
    
          // If 'Max-Age' is present, it takes precedence over 'Expires', regardless of the order the two
          // attributes are declared in the cookie string.
          if (deltaSeconds == Long.MIN_VALUE) {
            expiresAt = Long.MIN_VALUE
          } else if (deltaSeconds != -1L) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

              true
            } catch (cnfe: ClassNotFoundException) {
              false
            }
    
          val isCorrettoSupported: Boolean =
            try {
              // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
              Class.forName("com.amazon.corretto.crypto.provider.AmazonCorrettoCryptoProvider")
    
              AmazonCorrettoCryptoProvider.INSTANCE.loadingError == null &&
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/EventListener.kt

      }
    
      /**
       * Invoked immediately after sending request headers.
       *
       * This method is always invoked after [requestHeadersStart].
       *
       * @param request the request sent over the network. It is an error to access the body of this
       *     request.
       */
      open fun requestHeadersEnd(
        call: Call,
        request: Request,
      ) {
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top