Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GOAWAY (0.14 sec)

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

        val pingFrame = peer.takeFrame()
        assertThat(pingFrame.type).isEqualTo(Http2.TYPE_PING)
        val goaway = peer.takeFrame()
        assertThat(goaway.type).isEqualTo(Http2.TYPE_GOAWAY)
        assertThat(goaway.streamId).isEqualTo(0)
        assertThat(goaway.errorCode).isEqualTo(ErrorCode.PROTOCOL_ERROR)
      }
    
      @Test fun close() {
        // Write the mocking script.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        }
      }
    
      /**
       * This simulates a race condition where we receive a healthy HTTP/2 connection and just prior to
       * writing our request, we get a GOAWAY frame from the server.
       */
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun connectionShutdownAfterHealthCheck(
        protocol: Protocol,
        mockWebServer: MockWebServer,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

     *  New: Support the `immutable` cache-control directive.
     *  Fix: Don't crash when an HTTP/2 call is redirected while the connection is
        being shut down.
     *  Fix: Don't drop headers of healthy streams that raced with `GOAWAY` frames.
        This bug would cause HTTP/2 streams to occasional hang when the connection
        was shutting down.
     *  Fix: Honor `OkHttpClient.retryOnConnectionFailure()` when the response is a
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top