Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Petrie (2.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     * both.
     *
     * Applications may configure OkHttp with an authenticator for origin servers, or proxy servers,
     * or both.
     *
     * ## Authentication Retries
     *
     * If your authentication may be flaky and requires retries you should apply some policy
     * to limit the retries by the class of errors and number of attempts.  To get the number of
     * attempts to the current point use this function.
     *
     * ```java
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. docs/features/events.md

    ![Events Diagram](../assets/images/******@****.***)
    
    ### Events with Retries and Follow-Ups
    
    OkHttp is resilient and can automatically recover from some connectivity failures. In this case, the `connectFailed()` event is not terminal and not followed by `callFailed()`. Event listeners will receive multiple events of the same type when retries are attempted.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  3. 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)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      }
    
      private fun testRequestBodySurvivesRetries(transferKind: TransferKind) {
        server.enqueue(MockResponse(body = "abc"))
    
        // Use a misconfigured proxy to guarantee that the request is retried.
        client =
          client.newBuilder()
            .proxySelector(
              FakeProxySelector()
                .addProxy(server2.toProxyAddress())
                .addProxy(Proxy.NO_PROXY),
            )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Connection.kt

     *
     * Unfortunately, older HTTPS servers refuse to connect when such options are presented. Rather than
     * avoiding these options entirely, this class allows a connection to be attempted with modern
     * options and then retried without them should the attempt fail.
     *
     * ## Connection Reuse
     *
     * Each connection can carry a varying number of streams, depending on the underlying protocol being
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. docs/recipes.md

          fun run() {
            val request = Request.Builder()
                .url("http://publicobject.com/secrets/hellosecret.txt")
                .build()
          }
        ```
    
        To avoid making many retries when authentication isn't working, you can return null to give up. For example, you may want to skip the retry when these exact credentials have already been attempted:
    
        ```kotlin
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  7. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    acct.pro achi.nagano.jp aco act.au act.edu.au activetrail.biz actor ad ad.jp adachi.tokyo.jp adimo.co.uk adm.br adobeaemcloud.com adobeaemcloud.net adobeio-static.net adobeioruntime.net ads adult adult.ht adv.br adv.mz adygeya.ru adygeya.su ae ae.org aeg aejrie.no aero aero.mv aero.tt aerobatic.aero aeroclub.aero aerodrome.aero aeroport.fr aetna af affinitylottery.org.uk afjord.no afl africa africa.bj africa.com ag ag.it aga.niigata.jp agakhan agano.niigata.jp agdenes.no agematsu.nagano.jp agency agents.aero...
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
  8. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    moåreke.no
    midsund.no
    midtre-gauldal.no
    modalen.no
    modum.no
    molde.no
    moskenes.no
    moss.no
    mosvik.no
    malselv.no
    målselv.no
    malatvuopmi.no
    málatvuopmi.no
    namdalseid.no
    aejrie.no
    namsos.no
    namsskogan.no
    naamesjevuemie.no
    nååmesjevuemie.no
    laakesvuemie.no
    nannestad.no
    narvik.no
    narviika.no
    naustdal.no
    nedre-eiker.no
    nes.akershus.no
    nes.buskerud.no
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  9. okhttp/src/main/kotlin/okhttp3/Headers.kt

      /**
       * Returns the number of bytes required to encode these headers using HTTP/1.1. This is also the
       * approximate size of HTTP/2 headers before they are compressed with HPACK. This value is
       * intended to be used as a metric: smaller headers are more efficient to encode and transmit.
       */
      fun byteCount(): Long {
        // Each header name has 2 bytes of overhead for ': ' and every header value has 2 bytes of
        // overhead for '\r\n'.
    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)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

            sslSocket.closeQuietly()
          }
        }
      }
    
      /**
       * To make an HTTPS connection over an HTTP proxy, send an unencrypted CONNECT request to create
       * the proxy connection. This may need to be retried if the proxy requires authorization.
       */
      @Throws(IOException::class)
      private fun createTunnel(): Request? {
        var nextRequest = tunnelRequest!!
    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)
Back to top