From 22bc6df81cecaf7588769234b8361e77a34ab771 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 27 Nov 2012 14:52:11 -0800 Subject: [PATCH] [FileBackend] Actually unset the "conn" field in closeConnection(). * This means that handleException() will actually trigger a new auth attempt for the next operation if there was an unexpected error. Change-Id: I8c651cc57d0967549ec67257078c8e126674235d --- includes/filebackend/SwiftFileBackend.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/filebackend/SwiftFileBackend.php b/includes/filebackend/SwiftFileBackend.php index 5a9b062d9a..e9d27f70fa 100644 --- a/includes/filebackend/SwiftFileBackend.php +++ b/includes/filebackend/SwiftFileBackend.php @@ -1370,6 +1370,7 @@ class SwiftFileBackend extends FileBackendStore { protected function closeConnection() { if ( $this->conn ) { $this->conn->close(); // close active cURL handles in CF_Http object + $this->conn = null; $this->sessionStarted = 0; $this->connContainerCache->clear(); } -- 2.20.1