1
0
mirror of synced 2024-11-22 13:26:08 +03:00

Update Client.php

This commit is contained in:
Alex Lushpai 2015-05-20 11:31:07 +03:00
parent de6dbdd87f
commit 67e0f4746e

View File

@ -84,16 +84,6 @@ class Client
$errno = curl_errno($ch); $errno = curl_errno($ch);
$error = curl_error($ch); $error = curl_error($ch);
/*if ($errno && in_array($errno, array(6, 7, 28, 34, 35)) && $this->retry < 3) {
$this->retry += 1;
if ($debug) {
error_log('CURL RETRY #' . $this->retry . PHP_EOL, 4);
}
$this->makeRequest($path, $method, $parameters, $timeout, $verify, $debug);
}*/
curl_close($ch); curl_close($ch);
if ($errno) { if ($errno) {