Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 997 for protocol1 (0.74 sec)

  1. 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)
  2. 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)
  3. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

          OkHttpClient.Builder()
            .protocols(protocols as List<Protocol>)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("protocols must not contain null")
        }
      }
    
      @Test fun spdy3IsRemovedFromProtocols() {
        val protocols =
          mutableListOf(
            Protocol.HTTP_1_1,
            Protocol.SPDY_3,
          )
        val client =
          OkHttpClient.Builder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go

    		}
    	}
    }
    
    // handshake ensures the provided user protocol matches one of the allowed protocols. It returns
    // no error if no protocol is specified.
    func handshake(config *websocket.Config, req *http.Request, allowed []string) error {
    	protocols := config.Protocol
    	if len(protocols) == 0 {
    		protocols = []string{""}
    	}
    
    	for _, protocol := range protocols {
    		for _, allow := range allowed {
    			if allow == protocol {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/deployment/services.go

    				portMap[sPort.Port] = ProtocolMap{}
    			}
    
    			// Default protocol is TCP
    			protocol := sPort.Protocol
    			if protocol == "" {
    				protocol = core_v1.ProtocolTCP
    			}
    
    			// Appending the service information for the Port/Protocol combination
    			portMap[sPort.Port][protocol] = append(portMap[sPort.Port][protocol], swn.Name)
    		}
    	}
    
    	return portMap
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

                    boolean flag = false;
                    for (final String protocol : protocols) {
                        if (path.trim().startsWith(protocol.trim())) {
                            flag = true;
                            break;
                        }
                    }
                    if (!flag) {
                        return false;
                    }
                }
            }
            return true;
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

          .assertSuccessful()
          .assertCode(200)
      }
    
      private fun enableProtocol(protocol: Protocol) {
        enableTls()
        client =
          client.newBuilder()
            .protocols(listOf(protocol, Protocol.HTTP_1_1))
            .build()
        server1.protocols = client.protocols
        server2.protocols = client.protocols
      }
    
      private fun enableTls() {
        client =
          client.newBuilder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener_waypoint.go

    				Name:    httpName,
    			}
    			if port.Protocol.IsUnsupported() {
    				// If we need to sniff, insert two chains and the protocol detector
    				chains = append(chains, tcpChain, httpChain)
    				portMapper.Map[portString] = match.ToMatcher(match.NewAppProtocol(match.ProtocolMatch{
    					TCP:  match.ToChain(tcpName),
    					HTTP: match.ToChain(httpName),
    				}))
    			} else if port.Protocol.IsHTTP() {
    				// Otherwise, just insert HTTP/TCP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/conversion_test.go

    		{25, "", nil, corev1.ProtocolTCP, protocol.TCP},
    		{53, "", nil, corev1.ProtocolTCP, protocol.TCP},
    		{3306, "", nil, corev1.ProtocolTCP, protocol.TCP},
    		{27017, "", nil, corev1.ProtocolTCP, protocol.TCP},
    		{8888, "http", nil, corev1.ProtocolTCP, protocol.HTTP},
    		{8888, "http-test", nil, corev1.ProtocolTCP, protocol.HTTP},
    		{8888, "http", nil, corev1.ProtocolUDP, protocol.UDP},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener.go

    // Mongo and MySQL are not allowed to co-exist with other protocols in one port.
    func isConflictWithWellKnownPort(incoming, existing protocol.Instance, conflict int) bool {
    	if conflict == NoConflict {
    		return true
    	}
    
    	if (incoming == protocol.Mongo ||
    		incoming == protocol.MySQL ||
    		existing == protocol.Mongo ||
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top