Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for RST_STREAM (0.19 sec)

  1. pilot/pkg/grpc/grpc_test.go

    // limitations under the License.
    
    package grpc
    
    import (
    	"errors"
    	"testing"
    )
    
    func TestIsExpectedGRPCError(t *testing.T) {
    	err := errors.New("code = Internal desc = stream terminated by RST_STREAM with error code: NO_ERROR")
    	if got := IsExpectedGRPCError(err); !got {
    		t.Fatalf("expected true, got %v", got)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 15 16:28:30 UTC 2021
    - 871 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/wrap.go

    			// that the effect of the panic was isolated to the active request.
    			// It recovers the panic, logs a stack trace to the server error log,
    			// and either closes the network connection or sends an HTTP/2
    			// RST_STREAM, depending on the HTTP protocol. To abort a handler so
    			// the client sees an interrupted response but the server doesn't log
    			// an error, panic with the value ErrAbortHandler.
    			//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

      const val FLAG_COMPRESSED = 0x20 // Used for data.
    
      /** 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)
  4. pilot/pkg/grpc/grpc.go

    		if s.Code() == codes.Unavailable && containsExpectedMessage(s.Message()) {
    			return true
    		}
    	}
    	// If this is not a gRPCStatus we should just error message.
    	if strings.Contains(err.Error(), "stream terminated by RST_STREAM with error code: NO_ERROR") {
    		return true
    	}
    	if strings.Contains(err.Error(), "received prior goaway: code: NO_ERROR") {
    		return true
    	}
    
    	return false
    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. staging/src/k8s.io/apiserver/pkg/server/filters/timeout.go

    		// that the effect of the panic was isolated to the active request.
    		// It recovers the panic, logs a stack trace to the server error log,
    		// and either closes the network connection or sends an HTTP/2
    		// RST_STREAM, depending on the HTTP protocol. To abort a handler so
    		// the client sees an interrupted response but the server doesn't log
    		// an error, panic with the value ErrAbortHandler.
    		//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top