Skip to content

Commit

Permalink
Remove code I didn't intend to add.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlubke committed Sep 19, 2011
1 parent a6ae5c2 commit 8876aa4
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1960,15 +1960,6 @@ private void doAsyncTrackedConnection(final Request request,
throws IOException, ExecutionException, InterruptedException {
final String url = request.getUrl();
Connection c = pool.poll(AsyncHttpProviderUtils.getBaseUrl(url));
if (c != null && !c.isOpen()) {
System.out.println("STALE CONNECTION");
try {
c.close();
} catch (IOException ignored) {
} finally {
c = null;
}
}
if (c == null) {
if (!connectionMonitor.acquire()) {
throw new IOException("Max connections exceeded");
Expand Down

0 comments on commit 8876aa4

Please sign in to comment.