Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for proxySelector (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

        dns.assertRequests(uriHost)
        proxySelector.assertRequests(address.url.toUri())
      }
    
      @Test fun proxySelectorReturnsMultipleProxies() {
        val address = factory.newAddress()
        proxySelector.proxies.add(proxyA)
        proxySelector.proxies.add(proxyB)
        val routeSelector = newRouteSelector(address)
        proxySelector.assertRequests(address.url.toUri())
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

      @Test
      fun proxyMoveTest(cleanClose: Boolean = true) {
        // Define a single Proxy at myproxy:8008 that will artificially move during the test
        val proxySelector = RecordingProxySelector()
        val socketAddress = InetSocketAddress.createUnresolved("myproxy", 8008)
        proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, socketAddress))
    
        // Define two host names for the DNS routing of fake proxy servers
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.repository.AuthenticationContext;
    import org.eclipse.aether.repository.AuthenticationSelector;
    import org.eclipse.aether.repository.ProxySelector;
    import org.eclipse.aether.repository.RemoteRepository;
    
    /**
     * @since 3.2.3
     */
    @Named("default")
    @Singleton
    public class MavenRepositorySystem {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.repository.AuthenticationContext;
    import org.eclipse.aether.repository.AuthenticationSelector;
    import org.eclipse.aether.repository.ProxySelector;
    import org.eclipse.aether.repository.RemoteRepository;
    
    /**
     */
    @Named("default")
    @Singleton
    @Deprecated
    public class LegacyRepositorySystem implements RepositorySystem {
    
        @Inject
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        if (existingRouteSelection != null && existingRouteSelection.hasNext()) {
          return planConnectToRoute(existingRouteSelection.next())
        }
    
        // Decide which proxy to use, if any. This may block in ProxySelector.select().
        var newRouteSelector = routeSelector
        if (newRouteSelector == null) {
          newRouteSelector =
            RouteSelector(
              address = address,
              routeDatabase = routeDatabase,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

      ) {
        // Tell the proxy selector when we fail to connect on a fresh connection.
        if (failedRoute.proxy.type() != Proxy.Type.DIRECT) {
          val address = failedRoute.address
          address.proxySelector.connectFailed(
            address.url.toUri(),
            failedRoute.proxy.address(),
            failure,
          )
        }
    
        client.routeDatabase.failed(failedRoute)
      }
    
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  7. docs/changelogs/changelog_4x.md

        certain bad routes indefinitely; now we only track the ones that could be necessary.
     *  Fix: Defer proxy selection until a proxy is required. This saves calls to `ProxySelector` on
        calls that use a pooled connection.
    
    
    ## Version 4.3.1
    
    _2020-01-07_
    
     *  Fix: Don't crash with a `NullPointerException` when a web socket is closed before it connects.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Click Count (0)
  8. CHANGELOG.md

     *  Fix: Don't double-compress the public suffix database. OkHttp is usually distributed in a
        compressed file (like a JAR or APK), so compressing its internal data was redundant.
    
     *  Fix: Call `ProxySelector.connectFailed()` when a connection's initial TCP handshake fails.
    
     *  Fix: Change the signature of `Dispatcher` to accept a nullable `ExecutorService`. Changing this
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 05 16:02:59 GMT 2025
    - 36.2K bytes
    - Click Count (2)
Back to Top