mirror of
https://github.com/square/okhttp.git
synced 2026-01-25 16:01:38 +03:00
Merge pull request #212 from square/jwilson/dontwhitelist
Don't whitelist routes when recycling them
This commit is contained in:
@@ -197,7 +197,6 @@ public class HttpEngine {
|
||||
sendSocketRequest();
|
||||
} else if (connection != null) {
|
||||
policy.connectionPool.recycle(connection);
|
||||
policy.getFailedRoutes().remove(connection.getRoute());
|
||||
connection = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user