X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fclientpool%2FSquidPurgeClient.php;h=49d9d1c7f0980f3ab4bba8aa1037d860b2510512;hb=58d70885d875a3928d96a2ca0a74dbc0ec5bb8bb;hp=36d72c2b67badb48be9af5ce9a2c2a2c1a25f327;hpb=102bfd66c84dbb9b690c78ad0c3975b7dc8f1a0a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/clientpool/SquidPurgeClient.php b/includes/clientpool/SquidPurgeClient.php index 36d72c2b67..49d9d1c7f0 100644 --- a/includes/clientpool/SquidPurgeClient.php +++ b/includes/clientpool/SquidPurgeClient.php @@ -25,7 +25,7 @@ * Uses asynchronous I/O, allowing purges to be done in a highly parallel * manner. * - * Could be replaced by curl_multi_exec() or some such. + * @todo Consider using MultiHttpClient. */ class SquidPurgeClient { /** @var string */ @@ -315,7 +315,7 @@ class SquidPurgeClient { } if ( $this->readState == 'status' ) { $this->processStatusLine( $lines[0] ); - } else { // header + } else { $this->processHeaderLine( $lines[0] ); } $this->readBuffer = $lines[1];