Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,766 for protocol2a (0.19 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. 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. 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)
  4. pkg/config/analysis/analyzers/deployment/services.go

    			}
    
    			// 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top