Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

HTTPASYNC-28: PoolEntry's expiry information is never updated.

Contributed by Daniel Kulp <dkulp at apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/trunk@1390942 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 9184e27f5bf0b3640ff4b1f89f132d4298a1191f 1 parent ae08194
@ok2c ok2c authored
View
8 RELEASE_NOTES.txt
@@ -1,8 +1,16 @@
+Changes since 4.0 Beta 3
+
+* [HTTPASYNC-28] PoolEntry's expiry information is never updated.
+ Contributed by Daniel Kulp <dkulp at apache.org>
+
+
Release 4.0 Beta 3
-------------------
The 4.0 BETA3 is a maintenance release that picks up the latest bug fixes in the core components.
+Changelog:
+
* Upgraded HttpCore to version 4.2.2
* [HTTPASYNC-26] OSGi bundle import fix.
View
4 httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/PoolingClientAsyncConnectionManager.java
@@ -201,7 +201,7 @@ public void releaseConnection(
}
synchronized (managedConn) {
- HttpPoolEntry entry = managedConn.detach();
+ HttpPoolEntry entry = managedConn.getPoolEntry();
if (entry == null) {
return;
}
@@ -230,7 +230,7 @@ public void releaseConnection(
managedConn.setSocketTimeout(0);
}
} finally {
- this.pool.release(entry, managedConn.isMarkedReusable());
+ this.pool.release(managedConn.detach(), managedConn.isMarkedReusable());
}
if (this.log.isDebugEnabled()) {
this.log.debug("Connection released: " + format(entry) + formatStats(entry.getRoute()));
Please sign in to comment.
Something went wrong with that request. Please try again.