Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 551 for connect0 (0.14 sec)

  1. samples/tcp-echo/src/main_test.go

    	go main()
    
    	// wait for the TCP Echo Server to start
    	time.Sleep(500 * time.Millisecond)
    
    	for _, addr := range []string{":9000", ":9001"} {
    		// connect to the TCP Echo Server
    		conn, err := net.Dial("tcp", addr)
    		if err != nil {
    			t.Fatalf("couldn't connect to the server: %v", err)
    		}
    		defer conn.Close()
    
    		// test the TCP Echo Server output
    		if _, err := conn.Write([]byte(request + "\n")); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 06 09:12:44 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/SocksProxyResolveIntegrationTest.groovy

            when:
            fails('listJars')
            then:
            failure.assertHasCause("Could not resolve log4j:log4j:1.2.17.")
            failure.assertThatCause(CoreMatchers.containsString("Can't connect to SOCKS proxy:Connection refused"))
    
            when:
            def recordingServer = new TestRecordingSocksServer()
            proxyServer.start(recordingServer)
            proxyServer.configureProxy(executer)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. pkg/istio-agent/health/health_probers_test.go

    			expectedError:       errors.New("status code was not from [200,400)"),
    		},
    		{
    			desc:                "Unhealthy - Could not connect to server",
    			statusCode:          -1,
    			expectedProbeResult: Unhealthy,
    			expectedError:       errors.New("dial tcp 127.0.0.1:<port>: connect: connection refused"),
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 14 19:26:09 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/NotifyDaemonAboutChangedPathsClient.java

    public class NotifyDaemonAboutChangedPathsClient {
        private final DaemonConnector connector;
        private final IdGenerator<UUID> idGenerator;
        private final DaemonRegistry daemonRegistry;
    
        public NotifyDaemonAboutChangedPathsClient(DaemonConnector connector, IdGenerator<UUID> idGenerator, DaemonRegistry daemonRegistry) {
            this.connector = connector;
            this.idGenerator = idGenerator;
            this.daemonRegistry = daemonRegistry;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt

              override fun evaluate() {
                called.set(true)
                rule.server.url("/").toUrl().openConnection().connect()
              }
            },
            Description.EMPTY,
          )
        statement.evaluate()
        assertThat(called.get()).isTrue()
        try {
          rule.server.url("/").toUrl().openConnection().connect()
          fail()
        } catch (expected: ConnectException) {
        }
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r213/ModelsWithGradleProjectCrossVersionSpec.groovy

            def connector = connector()
            connector.forProjectDirectory(rootDir.absoluteFile)
            connector.searchUpwards(searchUpwards)
            def model = withConnection(connector) { it.getModel(modelType) }
            return toGradleProject(model)
        }
    
        private <T> T getModelWithProjectConnection(TestFile rootDir, Class<T> modelType) {
            def connector = connector()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/CancellationContinuousIntegrationTest.groovy

            when:
            executer.beforeExecute {
                it.withForceInteractive(false).withStdinPipe(new PipedOutputStream() {
                    @Override
                    void connect(PipedInputStream snk) throws IOException {
                        super.connect(snk)
                        close()
                    }
                })
            }
            killToStop = true
    
            then:
            succeeds "build" // tests message
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/net/http/servemux121.go

    }
    
    // Formerly ServeMux.Handler.
    func (mux *serveMux121) findHandler(r *Request) (h Handler, pattern string) {
    
    	// CONNECT requests are not canonicalized.
    	if r.Method == "CONNECT" {
    		// If r.URL.Path is /tree and its handler is not registered,
    		// the /tree -> /tree/ redirect applies to CONNECT requests
    		// but the path canonicalization does not.
    		if u, ok := mux.redirectToPathSlash(r.URL.Host, r.URL.Path, r.URL); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:40:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/MessagingServer.java

     */
    @ServiceScope(Scope.Global.class)
    public interface MessagingServer {
        /**
         * Creates an endpoint that peers can connect to. Assigns an arbitrary address.
         *
         * @param action The action to execute when a connection has been established.
         * @return The local address of the endpoint, for the peer to connect to.
         */
        ConnectionAcceptor accept(Action<ObjectConnection> action);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/security/index.md

    
    ## OpenID Connect
    
    OpenID Connectは、**OAuth2**をベースにした別の仕様です。
    
    これはOAuth2を拡張したもので、OAuth2ではやや曖昧だった部分を明確にし、より相互運用性を高めようとしたものです。
    
    例として、GoogleのログインはOpenID Connectを使用しています(これはOAuth2がベースになっています)。
    
    しかし、FacebookのログインはOpenID Connectをサポートしていません。OAuth2を独自にアレンジしています。
    
    ### OpenID (「OpenID Connect」ではない)
    
    また、「OpenID」という仕様もありました。それは、**OpenID Connect**と同じことを解決しようとしたものですが、OAuth2に基づいているわけではありませんでした。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 23 13:10:49 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top