Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for SOCKS (0.04 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/bbottema/javasocksproxyserver/TestRecordingSocksServer.java

            }
    
            @Override
            public void run() {
                LOGGER.debug("SOCKS server started...");
                try {
                    handleClients(port);
                    LOGGER.debug("SOCKS server stopped...");
                } catch (IOException e) {
                    LOGGER.debug("SOCKS server crashed...");
                    Thread.currentThread().interrupt();
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/net/http/socks_bundle.go

    // Code generated by golang.org/x/tools/cmd/bundle. DO NOT EDIT.
    //go:generate bundle -o socks_bundle.go -prefix socks golang.org/x/net/internal/socks
    
    // Package socks provides a SOCKS version 5 client implementation.
    //
    // SOCKS protocol version 5 is defined in RFC 1928.
    // Username/Password authentication for SOCKS version 5 is defined in
    // RFC 1929.
    //
    
    package http
    
    import (
    	"context"
    	"errors"
    	"io"
    	"net"
    	"strconv"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 22:42:18 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/optimizing-performance/networking.adoc

    systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost
    ----
    ====
    
    There are separate settings for SOCKS.
    
    *Example 3:* Configuring a SOCKS proxy using `gradle.properties`:
    ====
    ----
    systemProp.socksProxyHost=www.somehost.org
    systemProp.socksProxyPort=1080
    systemProp.java.net.socks.username=userid
    systemProp.java.net.socks.password=password
    ----
    ====
    
    You may need to set other properties to access other networks.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/SocksProxyServer.groovy

        void stop() {
            socksServer?.stop()
            portFinder.releasePort(port)
        }
    
        @Override
        String toString() {
            if (port > 0) {
                return "SOCKS proxy: $port"
            } else {
                return "SOCKS (not started)"
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/SocksProxyResolveIntegrationTest.groovy

    """
        }
    
        @ToBeFixedForConfigurationCache
        def "uses configured SOCKS proxy to access remote repository"() {
            proxyServer.configureProxy(executer)
            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:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

     * limitations under the License.
     */
    package okhttp3.containers
    
    import assertk.assertThat
    import assertk.assertions.contains
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.Proxy.Type.SOCKS
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.containers.BasicMockServerTest.Companion.MOCKSERVER_IMAGE
    import org.junit.jupiter.api.Test
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt

        proxies.add(proxy)
        return this
      }
    
      override fun select(uri: URI): List<Proxy> {
        // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS).
        return if (uri.scheme == "http" || uri.scheme == "https") proxies else listOf(Proxy.NO_PROXY)
      }
    
      override fun connectFailed(
        uri: URI,
        sa: SocketAddress,
        ioe: IOException,
      ) {
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

        inetSocketAddresses = mutableInetSocketAddresses
    
        val socketHost: String
        val socketPort: Int
        if (proxy.type() == Proxy.Type.DIRECT || proxy.type() == Proxy.Type.SOCKS) {
          socketHost = address.url.host
          socketPort = address.url.port
        } else {
          val proxyAddress = proxy.address()
          require(proxyAddress is InetSocketAddress) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/SocksProxy.kt

    import okhttp3.internal.threadName
    import okio.Buffer
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.buffer
    import okio.sink
    import okio.source
    import okio.use
    
    /**
     * A limited implementation of SOCKS Protocol Version 5, intended to be similar to MockWebServer.
     * See [RFC 1928](https://www.ietf.org/rfc/rfc1928.txt).
     */
    class SocksProxy {
      private val executor = Executors.newCachedThreadPool(threadFactory("SocksProxy"))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignment/tests/dependenciesWithEnforcedVirtualPlatform.out

         |         \--- io.netty:netty-transport:4.1.19.Final (*)
         +--- io.netty:netty-handler-proxy:4.1.19.Final
         |    +--- io.netty:netty-transport:4.1.19.Final (*)
         |    +--- io.netty:netty-codec-socks:4.1.19.Final
         |    |    \--- io.netty:netty-codec:4.1.19.Final (*)
         |    \--- io.netty:netty-codec-http:4.1.19.Final
         |         \--- io.netty:netty-codec:4.1.19.Final (*)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top