Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SocksProxy (0.06 sec)

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

    /**
     * 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"))
      private var serverSocket: ServerSocket? = null
      private val connectionCount = AtomicInteger()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/SocksProxyTest.kt

      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
      private lateinit var server: MockWebServer
      private val socksProxy = SocksProxy()
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
        socksProxy.play()
      }
    
      @AfterEach
      fun tearDown() {
        socksProxy.shutdown()
      }
    
      @Test
      fun proxy() {
        server.enqueue(MockResponse.Builder().body("abc").build())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      fun successfulSocksProxyConnect() {
        server.enqueue(MockResponse())
        socksProxy = SocksProxy()
        socksProxy!!.play()
        val proxy = socksProxy!!.proxy()
        client =
          client.newBuilder()
            .proxy(proxy)
            .build()
        val call =
          client.newCall(
            Request.Builder()
              .url("http://" + SocksProxy.HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS + ":" + server.port)
              .build(),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  4. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val samplesDiscovery = "org.gradle.exemplar:samples-discovery"
        val snappy = "org.iq80.snappy:snappy"
        val servletApi = "javax.servlet:javax.servlet-api"
        val socksProxy = "com.github.bbottema:java-socks-proxy-server"
        val spock = "org.spockframework:spock-core"
        val spockJUnit4 = "org.spockframework:spock-junit4"
        val sshdCore = "org.apache.sshd:sshd-core"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 29 08:06:17 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top