larksuite-oapi/src/main/java/com/larksuite/oapi/okhttp3_14/internal/connection/RealConnectionPool.java
public void connectFailed(Route failedRoute, IOException failure) {
    // Tell the proxy selector when we fail to connect on a fresh connection.
    if (failedRoute.proxy().type() != Proxy.Type.DIRECT) {
      Address address = failedRoute.address();
      address.proxySelector().connectFailed(
          address.url().uri(), failedRoute.proxy().address(), failure);
    }

    routeDatabase.failed(failedRoute);
  }
/** Track a bad route in the route database. Other routes will be attempted first. */
Track a bad route in the route database. Other routes will be attempted first.
Track a bad route in the route database . Other routes will be attempted first .
public void connectFailed(Route failedRoute, IOException failure) {
    if (failedRoute.proxy().type() != Proxy.Type.DIRECT) {
      Address address = failedRoute.address();
      address.proxySelector().connectFailed(
          address.url().uri(), failedRoute.proxy().address(), failure);
    }
    routeDatabase.failed(failedRoute);
  }
public void connectFailed ( Route failedRoute , IOException failure ) { if ( failedRoute . proxy ( ) . type ( ) != Proxy . Type . DIRECT ) { Address address = failedRoute . address ( ) ; address . proxySelector ( ) . connectFailed ( address . url ( ) . uri ( ) , failedRoute . proxy ( ) . address ( ) , failure ) ; } routeDatabase . failed ( failedRoute ) ; }
Track a bad route in the route database.
Track a bad route in the route database .
// Tell the proxy selector when we fail to connect on a fresh connection.