Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3406
diff.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:28 PM
2014-11-21 21:28:43 (UTC+0)
Size
649 B
Referenced Files
None
Subscribers
None
diff.txt
View Options
Index: includes/SquidUpdate.php
===================================================================
--- includes/SquidUpdate.php (revision 36297)
+++ includes/SquidUpdate.php (working copy)
@@ -151,8 +151,9 @@
/* open the remaining sockets for this server */
list($server, $port) = explode(':', $wgSquidServers[$ss]);
if(!isset($port)) $port = 80;
- $sockets[$so+1] = @fsockopen($server, $port, $error, $errstr, 2);
- @stream_set_blocking($sockets[$so+1],false);
+ $socket = @fsockopen($server, $port, $error, $errstr, 2);
+ @stream_set_blocking($socket,false);
+ $sockets[] = $socket;
}
$so++;
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2974
Default Alt Text
diff.txt (649 B)
Attached To
Mode
T9807: Some squid caches serving stale image and thumbnail versions
Attached
Detach File
Event Timeline
Log In to Comment