hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1740282 - /httpcomponents/httpasyncclient/branches/4.1.x/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPool.java
Date Thu, 21 Apr 2016 10:46:53 GMT
Author: olegk
Date: Thu Apr 21 10:46:53 2016
New Revision: 1740282

URL: http://svn.apache.org/viewvc?rev=1740282&view=rev
Log:
HTTPASYNC-105: socketTimeout is not reset back to default after a request that has specific
timeout

Modified:
    httpcomponents/httpasyncclient/branches/4.1.x/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPool.java

Modified: httpcomponents/httpasyncclient/branches/4.1.x/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPool.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/branches/4.1.x/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPool.java?rev=1740282&r1=1740281&r2=1740282&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/branches/4.1.x/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPool.java
(original)
+++ httpcomponents/httpasyncclient/branches/4.1.x/httpasyncclient/src/main/java/org/apache/http/impl/nio/conn/CPool.java
Thu Apr 21 10:46:53 2016
@@ -74,7 +74,6 @@ class CPool extends AbstractNIOConnPool<
     @Override
     protected void onRelease(final CPoolEntry entry) {
         final NHttpClientConnection conn = entry.getConnection();
-        entry.setSocketTimeout(conn.getSocketTimeout());
         conn.setSocketTimeout(0);
     }
 



Mime
View raw message