You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2020/10/03 10:17:45 UTC

[httpcomponents-client] branch master updated: HTTPCLIENT-2118: Corrected PoolingHttpClientConnectionManager javadocs

This is an automated email from the ASF dual-hosted git repository.

olegk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git


The following commit(s) were added to refs/heads/master by this push:
     new 12a6579  HTTPCLIENT-2118: Corrected PoolingHttpClientConnectionManager javadocs
12a6579 is described below

commit 12a6579513ffc9f36ef41a8d18fc456ab8ccf7e8
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Sat Oct 3 12:12:58 2020 +0200

    HTTPCLIENT-2118: Corrected PoolingHttpClientConnectionManager javadocs
---
 .../client5/http/impl/io/PoolingHttpClientConnectionManager.java   | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/PoolingHttpClientConnectionManager.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/PoolingHttpClientConnectionManager.java
index 94b9592..fcb6ab6 100644
--- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/PoolingHttpClientConnectionManager.java
+++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/PoolingHttpClientConnectionManager.java
@@ -96,11 +96,8 @@ import org.slf4j.LoggerFactory;
  * of persistent connections regardless of their expiration setting. No persistent
  * connection will be re-used past its TTL value.
  * <p>
- * The handling of stale connections was changed in version 4.4.
- * Previously, the code would check every connection by default before re-using it.
- * The code now only checks the connection if the elapsed time since
- * the last use of the connection exceeds the timeout that has been set.
- * The default timeout is set to 5000ms.
+ * Please note in contrast to 4.x no stale check is employed by default.
+ * @see #setValidateAfterInactivity(TimeValue)
  *
  * @since 4.3
  */