mirror of
https://github.com/predis/predis.git
synced 2026-11-09 19:26:11 +00:00
307d7e2b6a
Disconnect interrupted pipeline connections before they can be reused, discard remaining commands, and reset running state after PHP errors. Preserve the original failure when connection cleanup also fails. Clear the cached connection resource when Relay is closed so the next command reconnects and replays connection initialization. This fixes client reuse after an interrupted pipeline disconnects the connection.