Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for GOAWAY (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

            lastGoodStreamId = this.lastGoodStreamId
          }
          // TODO: propagate exception message into debugData.
          // TODO: configure a timeout on the reader so that it doesn’t block forever.
          writer.goAway(lastGoodStreamId, statusCode, EMPTY_BYTE_ARRAY)
        }
      }
    
      /**
       * Closes this connection. This cancels all open streams and unanswered pings. It closes the
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/config.go

    	// GoawayChance is the probability that send a GOAWAY to HTTP/2 clients. When client received
    	// GOAWAY, the in-flight requests will not be affected and new requests will use
    	// a new TCP connection to triggering re-balancing to another server behind the load balance.
    	// Default to 0, means never send GOAWAY. Max is 0.02 to prevent break the apiserver.
    	GoawayChance float64
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  3. 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)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          ),
        )
        server.enqueue(
          MockResponse(body = "def"),
        )
    
        // Send a separate request which will trigger a GOAWAY frame on the healthy connection.
        val response = getResponse(newRequest("/"))
        assertContent("abc", response)
    
        // Ensure the GOAWAY frame has time to be read and processed.
        Thread.sleep(500)
        assertContent(
          "def",
          getResponse(
            Request(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top