Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for GOAWAY (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/goaway.go

    				return ret
    			},
    		},
    	}
    }
    
    // goaway send a GOAWAY to client according to decider for HTTP2 requests
    type goaway struct {
    	handler http.Handler
    	decider GoawayDecider
    }
    
    // ServeHTTP implement HTTP handler
    func (h *goaway) ServeHTTP(w http.ResponseWriter, r *http.Request) {
    	if r.Proto == "HTTP/2.0" && h.decider.Goaway(r) {
    		// Send a GOAWAY and tear down the TCP connection when idle.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 28 20:27:28 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/goaway_test.go

    	// for watch request, test GOAWAY server push 1 byte in every second.
    	responseBody = []byte("hello")
    
    	// requestPostBody is the request body which client must send to test GOAWAY server for POST method,
    	// otherwise, test GOAWAY server will respond 400 HTTP status code.
    	requestPostBody = responseBody
    )
    
    // newTestGOAWAYServer return a test GOAWAY server instance.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 12:58:54 UTC 2021
    - 13.9K bytes
    - Viewed (0)
  3. docs/contribute/debug_logging.md

    [2020-01-01 00:00:00] << 0x00000003   288 DATA
    [2020-01-01 00:00:00] << 0x00000003     0 DATA          END_STREAM
    [2020-01-01 00:00:00] << 0x00000000     8 GOAWAY
    [2020-01-01 00:00:05] << 0x00000000     8 GOAWAY
    ```
    
    ### Task Runner Logging 
    
    This logs task enqueues, starts, and finishes.
    
    ```
    [2020-01-01 00:00:00] Q10000 scheduled after   0 µs: OkHttp ConnectionPool
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. pilot/pkg/grpc/grpc.go

    		grpc.MaxRecvMsgSize(maxRecvMsgSize),
    		// Ensure we allow clients sufficient ability to send keep alives. If this is higher than client
    		// keep alive setting, it will prematurely get a GOAWAY sent.
    		grpc.KeepaliveEnforcementPolicy(keepalive.EnforcementPolicy{
    			MinTime: options.Time / 2,
    		}),
    		grpc.KeepaliveParams(keepalive.ServerParameters{
    			Time:                  options.Time,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 17 04:27:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/ConnectionShutdownException.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import java.io.IOException
    
    /**
     * Thrown when an HTTP/2 connection is shutdown (either explicitly or if the peer has sent a GOAWAY
     * frame) and an attempt is made to use the connection.
     */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 875 bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/BaseTestHandler.kt

        fail("")
      }
    
      override fun ackSettings() {
        fail("")
      }
    
      override fun ping(
        ack: Boolean,
        payload1: Int,
        payload2: Int,
      ) {
        fail("")
      }
    
      override fun goAway(
        lastGoodStreamId: Int,
        errorCode: ErrorCode,
        debugData: ByteString,
      ) {
        fail("")
      }
    
      override fun windowUpdate(
        streamId: Int,
        windowSizeIncrement: Long,
      ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication.go

    		if utilfeature.DefaultFeatureGate.Enabled(genericfeatures.UnauthenticatedHTTP2DOSMitigation) && req.ProtoMajor == 2 && isAnonymousUser(resp.User) {
    			// limit this connection to just this request,
    			// and then send a GOAWAY and tear down the TCP connection
    			// https://github.com/golang/net/commit/97aa3a539ec716117a9d15a4659a911f50d13c3c
    			w.Header().Set("Connection", "close")
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

    		"--min-request-timeout for specific types of requests.")
    
    	fs.Float64Var(&s.GoawayChance, "goaway-chance", s.GoawayChance, ""+
    		"To prevent HTTP/2 clients from getting stuck on a single apiserver, randomly close a connection (GOAWAY). "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:53:51 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  9. 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)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

      /** Lookup table for valid frame types. */
      private val FRAME_NAMES =
        arrayOf(
          "DATA", "HEADERS", "PRIORITY", "RST_STREAM", "SETTINGS", "PUSH_PROMISE", "PING", "GOAWAY",
          "WINDOW_UPDATE", "CONTINUATION",
        )
    
      /**
       * Lookup table for valid flags for DATA, HEADERS, CONTINUATION. Invalid combinations are
       * represented in binary.
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top