Skip to content

Commit 8876aa4

Browse files
committed
Remove code I didn't intend to add.
1 parent a6ae5c2 commit 8876aa4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/main/java/com/ning/http/client/providers/grizzly/GrizzlyAsyncHttpProvider.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1960,15 +1960,6 @@ private void doAsyncTrackedConnection(final Request request,
19601960
throws IOException, ExecutionException, InterruptedException {
19611961
final String url = request.getUrl();
19621962
Connection c = pool.poll(AsyncHttpProviderUtils.getBaseUrl(url));
1963-
if (c != null && !c.isOpen()) {
1964-
System.out.println("STALE CONNECTION");
1965-
try {
1966-
c.close();
1967-
} catch (IOException ignored) {
1968-
} finally {
1969-
c = null;
1970-
}
1971-
}
19721963
if (c == null) {
19731964
if (!connectionMonitor.acquire()) {
19741965
throw new IOException("Max connections exceeded");

0 commit comments

Comments
 (0)