public void completed(final HttpPoolEntry entry) {
if (log.isDebugEnabled()) {
log.debug("Connection allocated: " + entry);
}
ManagedClientConnection conn = new ClientConnAdaptor(
PoolingClientConnectionManager.this,
entry);
if (!this.future.completed(conn)) {
pool.release(entry, true);
}