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 2019/08/18 09:34:31 UTC

[httpcomponents-core] branch master updated: HTTPCORE-592 Remove incorrect listener.onLease notification from LaxConnPool release

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-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 5c4f310  HTTPCORE-592 Remove incorrect listener.onLease notification from LaxConnPool release
5c4f310 is described below

commit 5c4f310850d595e3cb588c891ccb0d011e42c59f
Author: Linton Miller <li...@coxautoinc.com>
AuthorDate: Sat Aug 17 20:01:41 2019 +0100

    HTTPCORE-592 Remove incorrect listener.onLease notification from
    LaxConnPool release
---
 httpcore5/src/main/java/org/apache/hc/core5/pool/LaxConnPool.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/httpcore5/src/main/java/org/apache/hc/core5/pool/LaxConnPool.java b/httpcore5/src/main/java/org/apache/hc/core5/pool/LaxConnPool.java
index 4fa591c..253705c 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/pool/LaxConnPool.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/pool/LaxConnPool.java
@@ -160,9 +160,6 @@ public class LaxConnPool<T, C extends ModalCloseable> implements ManagedConnPool
             return;
         }
         final PerRoutePool<T, C> routePool = getPool(entry.getRoute());
-        if (connPoolListener != null) {
-            connPoolListener.onLease(entry.getRoute(), this);
-        }
         routePool.release(entry, reusable);
     }