Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,075 for protocol1 (0.28 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/transport/RepositoryTransportFactoryTest.groovy

            then:
            InvalidUserDataException e = thrown()
            e.message == "Not a supported repository protocol 'unsupported': valid protocols are [protocol1, protocol2a, protocol2b]"
        }
    
        def "cannot creates a transport for mixed url scheme"() {
            when:
            createTransport(['protocol1', 'protocol2b'] as Set, null, [])
    
            then:
            InvalidUserDataException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/test/groovy/org/gradle/process/internal/worker/child/WorkerLogEventListenerTest.groovy

            listener.withWorkerLoggingProtocol(protocol2) {
                listener.onOutput(logEvent2)
                listener.onOutput(logEvent3)
            }
            listener.onOutput(logEvent4)
    
            then:
            1 * protocol1.sendOutputEvent(logEvent1)
            1 * protocol2.sendOutputEvent(logEvent2)
            1 * protocol2.sendOutputEvent(logEvent3)
            1 * protocol1.sendOutputEvent(logEvent4)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. pkg/client/tests/remotecommand_test.go

    	conn, protocol, err := dialer.Dial("protocol1")
    	if err != nil {
    		t.Fatal(err)
    	}
    	if conn != upgrader.conn {
    		t.Errorf("unexpected connection: %#v", conn)
    	}
    	if !upgrader.called {
    		t.Errorf("request not called")
    	}
    	_ = protocol
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_client_test.go

    			return fmt.Errorf("%s: got ServerName %s, want %s", errorType, c.ServerName, "example.golang")
    		}
    		if c.NegotiatedProtocol != "protocol1" {
    			return fmt.Errorf("%s: got NegotiatedProtocol %s, want %s", errorType, c.NegotiatedProtocol, "protocol1")
    		}
    		if c.CipherSuite == 0 {
    			return fmt.Errorf("%s: got CipherSuite 0, want non-zero", errorType)
    		}
    		wantDidResume := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Protocol.kt

            HTTP_1_0.protocol -> HTTP_1_0
            HTTP_1_1.protocol -> HTTP_1_1
            H2_PRIOR_KNOWLEDGE.protocol -> H2_PRIOR_KNOWLEDGE
            HTTP_2.protocol -> HTTP_2
            SPDY_3.protocol -> SPDY_3
            QUIC.protocol -> QUIC
            else -> {
              // Support HTTP3 draft like h3-29
              if (protocol.startsWith(HTTP_3.protocol)) HTTP_3 else throw IOException("Unexpected protocol: $protocol")
            }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:17:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authentication/request/websocket/protocol.go

    	filteredProtocols := []string{}
    	for _, protocolHeader := range req.Header[protocolHeader] {
    		for _, protocol := range strings.Split(protocolHeader, ",") {
    			protocol = strings.TrimSpace(protocol)
    
    			if !strings.HasPrefix(protocol, bearerProtocolPrefix) {
    				filteredProtocols = append(filteredProtocols, protocol)
    				continue
    			}
    
    			if sawTokenProtocol {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 18:21:43 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. pilot/pkg/util/protoconv/protoconv.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package protoconv
    
    import (
    	"fmt"
    
    	udpa "github.com/cncf/xds/go/udpa/type/v1"
    	"google.golang.org/protobuf/encoding/prototext"
    	"google.golang.org/protobuf/proto"
    	"google.golang.org/protobuf/types/known/anypb"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 04:55:40 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. pkg/test/echo/server/forwarder/instance.go

    	protocolMap map[scheme.Instance]protocol
    	protocols   []protocol
    }
    
    // New creates a new forwarder Instance.
    func New() *Instance {
    	var protocols []protocol
    	add := func(p protocol) protocol {
    		protocols = append(protocols, p)
    		return p
    	}
    
    	// Create the protocols and populate the map.
    	e := newExecutor()
    	protocolMap := make(map[scheme.Instance]protocol)
    	h := add(newHTTPProtocol(e))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 17:19:22 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  9. pkg/config/protocol/instance.go

    		return MySQL
    	}
    
    	return Unsupported
    }
    
    // IsHTTP2 is true for protocols that use HTTP/2 as transport protocol
    func (i Instance) IsHTTP2() bool {
    	switch i {
    	case HTTP2, GRPC, GRPCWeb:
    		return true
    	default:
    		return false
    	}
    }
    
    // IsHTTPOrSniffed is true for protocols that use HTTP as transport protocol, or *can* use it if sniffed to be HTTP
    func (i Instance) IsHTTPOrSniffed() bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 02:46:15 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

              val protocol = peerProtocols[i] as String
              if (protocol in protocols) {
                selected = protocol
                return selected
              }
            }
            selected = protocols[0] // On no intersection, try peer's first protocol.
            return selected
          } else if ((methodName == "protocolSelected" || methodName == "selected") && callArgs.size == 1) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top