Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for follower (0.31 sec)

  1. docs/changelogs/changelog_4x.md

        Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`.
    
     *  Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by
        the certificate that follows and the last certificate is signed by a trusted root.
    
     *  Fix: Don't lose HTTP/2 flow control bytes when incoming data races with a stream close. If this
        happened enough then eventually the connection would stall.
    
    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/main/kotlin/okhttp3/Cache.kt

         * The file is newline separated. The first two lines are the URL and the request method. Next
         * is the number of HTTP Vary request header lines, followed by those lines.
         *
         * Next is the response status line, followed by the number of HTTP response header lines,
         * followed by those lines.
         *
         * HTTPS responses also contain SSL session information. This begins with a blank line, and then
    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)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

            .build()
        assertFailsWith<IOException> {
          client.newCall(Request.Builder().url(server.url("/0")).build()).execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Too many follow-up requests: 21")
        }
      }
    
      /**
       * We had a bug where we were passing a null route to the authenticator.
       * https://github.com/square/okhttp/issues/3809
       */
      @Test
    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)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        return Integer.MAX_VALUE
      }
    
      companion object {
        /**
         * How many redirects and auth challenges should we attempt? Chrome follows 21 redirects; Firefox,
         * curl, and wget follow 20; Safari follows 16; and HTTP/1.0 recommends 5.
         */
        private const val MAX_FOLLOW_UPS = 20
      }
    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)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

          // Expect to fail before enqueueing 32 MiB.
          assertThat(messageCount).isLessThan(32L)
        }
    
        // Confirm all sent messages were received, followed by a client-initiated close.
        val server = serverListener.assertOpen()
        for (i in 0 until messageCount) {
          serverListener.assertBinaryMessage(message)
        }
        serverListener.assertClosing(1001, "")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  6. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

              ConnectResult(this, nextPlan = connectTcpNextPlan, throwable = IOException("canceled"))
            }
            connectTcpNextPlan != null -> {
              events += "plan $id needs follow-up"
              ConnectResult(this, nextPlan = connectTcpNextPlan)
            }
            else -> {
              events += "plan $id TCP connected"
              connectState = ConnectState.TCP_CONNECTED
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

       * before less urgent messages and close frames. For example it's possible that a caller will
       * enqueue messages followed by pongs, but this sends pongs followed by messages. Pongs are always
       * written in the order they were enqueued.
       *
       * If a frame cannot be sent - because there are none enqueued or because the web socket is not
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         */
        fun authenticator(authenticator: Authenticator) =
          apply {
            this.authenticator = authenticator
          }
    
        /** Configure this client to follow redirects. If unset, redirects will be followed. */
        fun followRedirects(followRedirects: Boolean) =
          apply {
            this.followRedirects = followRedirects
          }
    
        /**
    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)
  9. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     * and the last 7 bits from this byte.
     *
     * The end of the range is not encoded, but can be inferred by looking at the start of the range
     * that follows.
     *
     * b1
     * --
     *
     * This is either a mapping decision or the length of the mapped output, according to this table:
     *
     * ```
     *  0..63 : Length of the UTF-16 sequence that this range maps to. The offset is b2b3.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

       *
       * We get plan0 and plan1 from the route planner.
       * We get plan2 as a follow-up to plan1, typically retry the same IP but different TLS.
       * We get plan3 as a retry of plan0, which was canceled when it lost the race.
       *
       * This test confirms that we prefer to do the TLS follow-up (plan2) before the TCP retry (plan3).
       * It also confirms we enforce the 250 ms delay in each race.
       */
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top