Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for GOAWAY (0.12 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/server/filters/with_retry_after.go

    		//
    		// Copied from net/http2 library
    		// "Connection" headers aren't allowed in HTTP/2 (RFC 7540, 8.1.2.2),
    		// but respect "Connection" == "close" to mean sending a GOAWAY and tearing
    		// down the TCP connection when idle, like we do for HTTP/1.
    		if params.TearDownConnection {
    			w.Header().Set("Connection", "close")
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 31 14:10:46 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/FrameLogTest.kt

        assertThat(frameLog(true, 3, 226, TYPE_DATA, FLAG_END_STREAM))
          .isEqualTo("<< 0x00000003   226 DATA          END_STREAM")
        assertThat(frameLog(false, 0, 8, TYPE_GOAWAY, FLAG_NONE))
          .isEqualTo(">> 0x00000000     8 GOAWAY        ")
      }
    
      /** Window update frames have special formatting.  */
      @Test
      fun windowUpdateFrames() {
        assertThat(frameLogWindowUpdate(false, 0, 4, Int.MAX_VALUE.toLong()))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. pkg/keepalive/options.go

    	// the connection is closed.
    	Timeout time.Duration
    	// MaxServerConnectionAge is a duration for the maximum amount of time a
    	// connection may exist before it will be closed by the server sending a GoAway.
    	// A random jitter is added to spread out connection storms.
    	// See https://github.com/grpc/grpc-go/blob/bd0b3b2aa2a9c87b323ee812359b0e9cda680dad/keepalive/keepalive.go#L49
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top