Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for DeVries (0.16 sec)

  1. docs/changelogs/changelog_4x.md

    **This release fixes a severe bug where OkHttp incorrectly detected and recovered from unhealthy
    connections.** Stale or canceled connections were incorrectly attempted when they shouldn't have
    been, leading to rare cases of infinite retries. Please upgrade to this release!
    
     *  Fix: don't return stale DNS entries in `DnsOverHttps`. We were caching DNS results indefinitely
        rather than the duration specified in the response's cache-control header.
    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/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        }
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0) // New connection.
    
        // Second call attempts the pooled connection, and it fails. Then it retries a new route which
        // succeeds.
        val response2 = client.newCall(request).execute()
        assertThat(response2.body.string()).isEqualTo("abc")
    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)
  3. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

       * sent.
       */
      private fun recover(
        e: IOException,
        call: RealCall,
        userRequest: Request,
        requestSendStarted: Boolean,
      ): Boolean {
        // The application layer has forbidden retries.
        if (!client.retryOnConnectionFailure) return false
    
        // We can't send the request body again.
        if (requestSendStarted && requestIsOneShot(e, userRequest)) return false
    
        // This exception is fatal.
    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)
  4. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         *
         * The call timeout spans the entire call: resolving DNS, connecting, writing the request body,
         * server processing, and reading the response body. If the call requires redirects or retries
         * all must complete within one timeout period.
         *
         * The default value is 0 which imposes no timeout.
         */
        fun callTimeout(
          timeout: Long,
          unit: TimeUnit,
    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. CHANGELOG.md

    additional improvements for Kotlin users. In this alpha we're excited to skip-the-builder for
    requests and remove a common source of non-null assertions (`!!`) on the response body.
    
    The alpha releases in the 5.0.0 series have production-quality code and an unstable API. We expect
    to make changes to the APIs introduced in 5.0.0-alpha.X. These releases are safe for production use
    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