Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,433 for protocol2a (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. releasenotes/notes/use-client-protocol.yaml

    Rama Chavali <******@****.***> 1600158980 +0530
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 15 08:36:20 UTC 2020
    - 168 bytes
    - Viewed (0)
  5. releasenotes/notes/drop-protocol-detection.yaml

    John Howard <******@****.***> 1682620589 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 27 18:36:29 UTC 2023
    - 209 bytes
    - Viewed (0)
  6. platforms/software/build-init/src/main/java/org/gradle/buildinit/InsecureProtocolOption.java

         */
        WARN,
    
        /**
         * Allow insecure protocols to be used when found.
         *
         * The generated Gradle build will not fail, but it will allow insecure protocols to be used.
         */
        ALLOW,
    
        /**
         * Upgrade an insecure protocol to a secure one.
         *
         * The generated Gradle build will not fail, but the repository may not be usable over a secure protocol.
         */
        UPGRADE;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. tests/fuzz/pilot_model_fuzzer.go

    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/config/protocol"
    	"istio.io/istio/pkg/slices"
    )
    
    var protocols = []protocol.Instance{
    	protocol.TCP,
    	protocol.UDP,
    	protocol.GRPC,
    	protocol.GRPCWeb,
    	protocol.HTTP,
    	protocol.HTTP_PROXY,
    	protocol.HTTP2,
    	protocol.HTTPS,
    	protocol.TLS,
    	protocol.Mongo,
    	protocol.Redis,
    	protocol.MySQL,
    }
    
    // Creates a new fuzzed ServiceInstance
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 18:13:06 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

        replaceWith = ReplaceWith(expression = "run { this.protocols = protocols }"),
        level = DeprecationLevel.ERROR,
      )
      fun setProtocols(protocols: List<Protocol>) {
        delegate.protocols = protocols
      }
    
      @JvmName("-deprecated_protocols")
      @Deprecated(
        message = "moved to var",
        replaceWith = ReplaceWith(expression = "protocols"),
        level = DeprecationLevel.ERROR,
      )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/net/lookup_unix.go

    			continue
    		}
    		if proto, _, ok := dtoi(f[1]); ok {
    			if _, ok := protocols[f[0]]; !ok {
    				protocols[f[0]] = proto
    			}
    			for _, alias := range f[2:] {
    				if _, ok := protocols[alias]; !ok {
    					protocols[alias] = proto
    				}
    			}
    		}
    	}
    }
    
    // lookupProtocol looks up IP protocol name in /etc/protocols and
    // returns correspondent protocol number.
    func lookupProtocol(_ context.Context, name string) (int, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        try {
          SSLSockets.setUseSessionTickets(sslSocket, true)
    
          val sslParameters = sslSocket.sslParameters
    
          // Enable ALPN.
          sslParameters.applicationProtocols = Platform.alpnProtocolNames(protocols).toTypedArray()
    
          sslSocket.sslParameters = sslParameters
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top