Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for proxyServer2 (0.81 sec)

  1. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

        proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, socketAddress))
    
        // Define two host names for the DNS routing of fake proxy servers
        val proxyServer1 = InetAddress.getByAddress("proxyServer1", byteArrayOf(127, 0, 0, 2))
        val proxyServer2 = InetAddress.getByAddress("proxyServer2", byteArrayOf(127, 0, 0, 3))
    
        println("Proxy Server 1 is ${server1.inetSocketAddress}")
        println("Proxy Server 2 is ${server2.inetSocketAddress}")
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/SocksProxyResolveIntegrationTest.groovy

            proxyServer.start(recordingServer)
            proxyServer.configureProxy(executer)
            fails('listJars') // Don't have to succeed here, just record the attempt in the fake proxy and verify it
            then:
            result.assertTaskExecuted(":listJars")
            recordingServer.madeAnyConnection()
    
            when:
            proxyServer.stop()
            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. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractProxyResolveIntegrationTest.groovy

            if (isTunnel()) {
                proxyServer.requestCount == 1
            } else {
                proxyServer.requestCount == 2
            }
        }
    
        def "reports proxy not running at configured location"() {
            given:
            proxyServer.start()
            proxyServer.stop()
            setupServer()
    
            and:
            buildFile << """
    repositories {
        maven { url "${repoServerUrl}" }
    }
    """
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. cmd/kube-proxy/app/server_other.go

    }
    
    var unsupportedError = fmt.Errorf(runtime.GOOS + "/" + runtime.GOARCH + "is unsupported")
    
    // platformSetup is called after setting up the ProxyServer, but before creating the
    // Proxier. It should fill in any platform-specific fields and perform other
    // platform-specific setup.
    func (s *ProxyServer) platformSetup(ctx context.Context) error {
    	return unsupportedError
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/maven/MavenS3ProxiedRepoIntegrationTest.groovy

                    "-Dhttp.proxyPort=${proxyServer.port}",
                    "-Dhttp.nonProxyHosts=foo",
                    "-Dhttp.proxyUser=proxyUser",
                    "-Dhttp.proxyPassword=proxyPassword"
            )
    
            then:
            succeeds 'retrieve'
    
            and:
            proxyServer.port != server.port
            proxyServer.requestCount == 2
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. pkg/proxy/kubemark/hollow_proxy.go

    	proxyconfigapi "k8s.io/kubernetes/pkg/proxy/apis/config"
    	proxyconfig "k8s.io/kubernetes/pkg/proxy/config"
    	"k8s.io/utils/ptr"
    )
    
    type HollowProxy struct {
    	ProxyServer *proxyapp.ProxyServer
    }
    
    type FakeProxier struct {
    	proxyconfig.NoopNodeHandler
    }
    
    func (*FakeProxier) Sync() {}
    func (*FakeProxier) SyncLoop() {
    	select {}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. cmd/kube-proxy/app/server_test.go

    // Run runs the specified ProxyServer.
    func (s *fakeProxyServerLongRun) Run(ctx context.Context) error {
    	for {
    		time.Sleep(2 * time.Second)
    	}
    }
    
    // CleanupAndExit runs in the specified ProxyServer.
    func (s *fakeProxyServerLongRun) CleanupAndExit() error {
    	return nil
    }
    
    type fakeProxyServerError struct{}
    
    // Run runs the specified ProxyServer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpIntegrationTest.groovy

        systemProp.http.proxyHost=localhost
        systemProp.http.proxyPort=${proxyServer.port}
        systemProp.http.nonProxyHosts=
    """
            when:
            def result = wrapperExecuter.withTasks('hello').run()
    
            then:
            assertThat(result.output, containsString('hello'))
    
            and:
            proxyServer.requestCount == 1
        }
    
        def "downloads wrapper via authenticated proxy"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpsIntegrationTest.groovy

        }
    
        def "downloads wrapper via proxy"() {
            given:
            proxyServer.start()
    
            // Note that the HTTPS protocol handler uses the same nonProxyHosts property as the HTTP protocol.
            file("gradle.properties") << """
        systemProp.https.proxyHost=localhost
        systemProp.https.proxyPort=${proxyServer.port}
        systemProp.http.nonProxyHosts=
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. cmd/kube-proxy/app/server_windows.go

    		config.Winkernel.RootHnsEndpointName = "cbr0"
    	}
    }
    
    // platformSetup is called after setting up the ProxyServer, but before creating the
    // Proxier. It should fill in any platform-specific fields and perform other
    // platform-specific setup.
    func (s *ProxyServer) platformSetup(ctx context.Context) error {
    	// Preserve backward-compatibility with the old secondary IP behavior
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top