Index: core/units/helpers/curl_helper.php =================================================================== --- core/units/helpers/curl_helper.php +++ core/units/helpers/curl_helper.php @@ -528,8 +528,6 @@ if ( $close_connection ) { $this->CloseConnection(); } - - $this->_resetSettings(); } /** @@ -554,6 +552,7 @@ // restore debug mode setting $this->debugMode = kUtil::constOn('DBG_CURL'); + $this->_resetSettings(); } /** @@ -570,4 +569,4 @@ return ($this->lastHTTPCode == 200) || ($this->lastHTTPCode >= 300 && $this->lastHTTPCode < 310); } - } \ No newline at end of file + }