dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
472f0ec
)
[FileBackend] Actually unset the "conn" field in closeConnection().
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 27 Nov 2012 22:52:11 +0000
(14:52 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 27 Nov 2012 22:52:11 +0000
(14:52 -0800)
* 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
patch
|
blob
|
history
diff --git
a/includes/filebackend/SwiftFileBackend.php
b/includes/filebackend/SwiftFileBackend.php
index
5a9b062
..
e9d27f7
100644
(file)
--- 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();
}