mgr.releaseConnection(conn, -1, null);
// this time: no exception
conn = getConnection(mgr, route, 10L, TimeUnit.MILLISECONDS);
assertNotNull("should have gotten a connection", conn);
mgr.shutdown();
}
public void testAbortBeforeRequestStarts() throws Exception {
HttpParams params = createDefaultParams();
ConnManagerParams.setMaxTotalConnections(params, 1);