Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Cook (0.17 sec)

  1. okhttp-android/build.gradle.kts

    }
    
    android {
      compileSdk = 34
    
      namespace = "okhttp.android"
    
      defaultConfig {
        minSdk = 21
    
        // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
    
        buildFeatures {
          buildConfig = false
        }
    
        testOptions {
          unitTests {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_4x.md

        This regression was introduced in OkHttp 4.3.0.
     *  Fix: Don't crash with an `IllegalArgumentException` when using custom trust managers on
        Android 10. Android uses reflection to look up a magic `checkServerTrusted()` method and we
        didn't have it.
     *  Fix: Explicitly specify the remote server name when making HTTPS connections on Android 5. In
    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/RealConnectionPool.kt

          if (connection.isHealthy(doExtensiveHealthChecks)) return connection
    
          // In the second synchronized block, release the unhealthy acquired connection. We're also on
          // the hook to close this connection if it's no longer in use.
          val noNewExchangesEvent: Boolean
          val toClose: Socket? =
            connection.withLock {
              noNewExchangesEvent = !connection.noNewExchanges
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    01AC          ; mapped                 ; 01AD          # 1.1  LATIN CAPITAL LETTER T WITH HOOK
    01AD          ; valid                                  # 1.1  LATIN SMALL LETTER T WITH HOOK
    01AE          ; mapped                 ; 0288          # 1.1  LATIN CAPITAL LETTER T WITH RETROFLEX HOOK
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
  5. okhttp/src/test/java/okhttp3/CallTest.kt

                "Retry-After",
                "1",
              ),
            body = "You took too long!",
            socketPolicy = DisconnectAtEnd,
          ),
        )
        val request = Request(server.url("/"))
        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("You took too long!")
      }
    
      @Test
      fun requestBodyRetransmittedOnClientRequestTimeout() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

       * close any unnecessary connections. This test confirms that behavior works as intended.
       *
       * This test uses proxy tunnels to get a hook while a connection is being established.
       */
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun concurrentHttp2ConnectionsDeduplicated(
        protocol: Protocol,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        // we should try the next route (if there is one).
        if (e is InterruptedIOException) {
          return e is SocketTimeoutException && !requestSendStarted
        }
    
        // Look for known client-side or negotiation errors that are unlikely to be fixed by trying
        // again with a different route.
        if (e is SSLHandshakeException) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        val candidate = connectionUser.candidateConnection() ?: return null
    
        // Make sure this connection is healthy & eligible for new exchanges. If it's no longer needed
        // then we're on the hook to close it.
        val healthy = candidate.isHealthy(connectionUser.doExtensiveHealthChecks())
        var noNewExchangesEvent = false
        val toClose: Socket? =
          candidate.withLock {
            when {
              !healthy -> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. CHANGELOG.md

        returned.
    
     *  Upgrade: [Okio 3.9.0][okio_3_9_0].
    
     *  Upgrade: [Kotlin 1.9.23][kotlin_1_9_23].
    
     *  Upgrade: [UnicodeĀ® IDNA 15.1.0][idna_15_1_0]
    
    
    ## Version 5.0.0-alpha.12
    
    _2023-12-17_
    
    We took too long to cut this release and there's a lot of changes in it. We've been busy.
    
    Although this release is labeled _alpha_, the only unstable thing in it is our new APIs. This
    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)
Back to top