Index: trunk/phase3/includes/SquidUpdate.php |
— | — | @@ -151,8 +151,9 @@ |
152 | 152 | /* open the remaining sockets for this server */ |
153 | 153 | list($server, $port) = explode(':', $wgSquidServers[$ss]); |
154 | 154 | if(!isset($port)) $port = 80; |
155 | | - $sockets[$so+1] = @fsockopen($server, $port, $error, $errstr, 2); |
156 | | - @stream_set_blocking($sockets[$so+1],false); |
| 155 | + $socket = @fsockopen($server, $port, $error, $errstr, 2); |
| 156 | + @stream_set_blocking($socket,false); |
| 157 | + $sockets[] = $socket; |
157 | 158 | } |
158 | 159 | $so++; |
159 | 160 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -373,6 +373,8 @@ |
374 | 374 | * (bug 14520) Don't load nonexistent CSS files for Chick/Myskin/Simple skins |
375 | 375 | * (bug 14551) Cancel upload no longer automatically suppresses warnings |
376 | 376 | * (bug 13878) Deprecate Article::getDB() in favor of direct wfGetDB() calls |
| 377 | +* (bug 4977) Fix for possible squid purging errors when using HTTP purges |
| 378 | + and multiple servers |
377 | 379 | |
378 | 380 | === API changes in 1.13 === |
379 | 381 | |