From 67e0f4746e1ac99b75c244a4debd4156f6ccdf5c Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Wed, 20 May 2015 11:31:07 +0300 Subject: [PATCH] Update Client.php --- lib/RetailCrm/Http/Client.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/RetailCrm/Http/Client.php b/lib/RetailCrm/Http/Client.php index 30f3558..a3374dc 100644 --- a/lib/RetailCrm/Http/Client.php +++ b/lib/RetailCrm/Http/Client.php @@ -84,16 +84,6 @@ class Client $errno = curl_errno($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); if ($errno) {