Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Ensure (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        // Confirm that the connection was reused.
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
      }
    
      /**
       * Test to ensure we don't  throw a read timeout on responses that are progressing.  For this
       * case, we take a 4KiB body and throttle it to 1KiB/second.  We set the read timeout to two
    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)
  2. docs/changelogs/changelog_3x.md

     *  Fix: Don't release HTTP/2 connections that have multiple canceled calls. We had a bug where
        canceling calls would cause the shared HTTP/2 connection to be unnecessarily released. This
        harmed connection reuse.
     *  Fix: Ensure canceled and discarded HTTP/2 data is not permanently counted against the limited
        flow control window. We had a few bugs where window size accounting was broken when streams
        were canceled or reset.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

         * to ["a", "b", ""].
         */
        private fun pop() {
          val removed = encodedPathSegments.removeAt(encodedPathSegments.size - 1)
    
          // Make sure the path ends with a '/' by either adding an empty string or clearing a segment.
          if (removed.isEmpty() && encodedPathSegments.isNotEmpty()) {
            encodedPathSegments[encodedPathSegments.size - 1] = ""
          } else {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  4. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.play()
    
        // Play it back.
        val connection = connect(peer)
        connection.writePingAndAwaitPong() // Make sure settings have been acked.
        val stream = connection.newStream(headerEntries("b", "banana"), true)
        connection.writePingAndAwaitPong() // Make sure the window update has been received.
        val sink = stream.getSink()
        stream.writeTimeout().timeout(500, TimeUnit.MILLISECONDS)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top