Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for amatch (0.14 sec)

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

        // If the host exactly matches, we're done: this connection can carry the address.
        if (address.url.host == this.route().address.url.host) {
          return true // This connection is a perfect match.
        }
    
        // At this point we don't have a hostname match. But we still be able to carry the request if
        // our connection coalescing requirements are met. See also:
        // https://hpbn.co/optimizing-application-delivery/#eliminate-domain-sharding
    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.4.1
    
    _2020-03-08_
    
     *  Fix: Don't reuse a connection on redirect if certs match but DNS does not. For better
        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
    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/platform/Platform.kt

          val context = readFieldOrNull(sslSocketFactory, sslContextClass, "context") ?: return null
          readFieldOrNull(context, X509TrustManager::class.java, "trustManager")
        } catch (e: ClassNotFoundException) {
          null
        } catch (e: RuntimeException) {
          // Throws InaccessibleObjectException (added in JDK9) on JDK 17 due to
          // JEP 403 Strongly Encapsulate JDK Internals.
    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)
  4. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

          value < 0 -> 0
          else -> value.toInt()
        }
      } catch (_: NumberFormatException) {
        return defaultValue
      }
    }
    
    /** Closes this, ignoring any checked exceptions. */
    fun Closeable.closeQuietly() {
      try {
        close()
      } catch (rethrown: RuntimeException) {
        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

          putMethod.invoke(null, sslSocket, alpnProvider)
        } catch (e: InvocationTargetException) {
          throw AssertionError("failed to set ALPN", e)
        } catch (e: IllegalAccessException) {
          throw AssertionError("failed to set ALPN", e)
        }
      }
    
      override fun afterHandshake(sslSocket: SSLSocket) {
        try {
          removeMethod.invoke(null, sslSocket)
        } catch (e: IllegalAccessException) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

      try {
        close()
      } catch (e: AssertionError) {
        throw e
      } catch (rethrown: RuntimeException) {
        if (rethrown.message == "bio == null") {
          // Conscrypt in Android 10 and 11 may throw closing an SSLSocket. This is safe to ignore.
          // https://issuetracker.google.com/issues/177450597
          return
        }
        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

            }
    
            // Enable ALPN.
            setAlpnProtocols.invoke(
              sslSocket,
              Platform.concatLengthPrefixed(protocols),
            )
          } catch (e: IllegalAccessException) {
            throw AssertionError(e)
          } catch (e: InvocationTargetException) {
            throw AssertionError(e)
          }
        }
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. kotlin-js-store/yarn.lock

      integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==
    
    balanced-match@^1.0.0:
      version "1.0.2"
      resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
      integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  9. mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt

      val server: MockWebServer = MockWebServer()
    
      override fun before() {
        try {
          server.start()
        } catch (e: IOException) {
          throw RuntimeException(e)
        }
      }
    
      override fun after() {
        try {
          server.shutdown()
        } catch (e: IOException) {
          logger.log(Level.WARNING, "MockWebServer shutdown failed", e)
        }
      }
    
      @ExperimentalOkHttpApi
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 1.8K bytes
    - Viewed (1)
  10. okhttp/src/main/kotlin/okhttp3/Request.kt

         * [Request.tag]. Use null to remove any existing tag assigned for [T].
         *
         * Use this API to attach timing, debugging, or other application data to a request so that
         * you may read it in interceptors, event listeners, or callbacks.
         */
        @JvmName("reifiedTag")
        inline fun <reified T : Any> tag(tag: T?): Builder = tag(T::class, tag)
    
        /**
    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)
Back to top