From 47d53c9a19195c0c61def9726f64327c71604eb5 Mon Sep 17 00:00:00 2001 From: tanyawen Date: Tue, 31 Dec 2019 15:33:48 +0800 Subject: [PATCH] fix:active test flag --- src/main/java/org/csource/fastdfs/pool/ConnectionManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/csource/fastdfs/pool/ConnectionManager.java b/src/main/java/org/csource/fastdfs/pool/ConnectionManager.java index fd2c894..fa76798 100644 --- a/src/main/java/org/csource/fastdfs/pool/ConnectionManager.java +++ b/src/main/java/org/csource/fastdfs/pool/ConnectionManager.java @@ -66,6 +66,7 @@ public class ConnectionManager { isActive = false; } if (!isActive) { + closeConnection(connection); continue; } else { connection.setNeedActiveTest(false);