Skip to content

Commit dd9c286

Browse files
authored
close tainted connection after evicting from pool
1 parent aa44046 commit dd9c286

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/io/vertx/redis/client/impl/RedisStandaloneConnection.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ public synchronized boolean reset() {
462462
// cannot reset if connection is tainted (custom DB/AUTH/PUBSUB)
463463
if (tainted) {
464464
evict();
465+
forceClose();
465466
return false;
466467
}
467468
return true;

0 commit comments

Comments
 (0)