|
|
@@ -128,7 +128,8 @@ Class VAT {
|
|
|
curl_setopt($this->ch, CURLOPT_FOLLOWLOCATION, true);
|
|
|
curl_setopt($this->ch, CURLOPT_SSL_VERIFYHOST, false);
|
|
|
curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER, false);
|
|
|
- curl_setopt($this->ch, CURLOPT_CONNECTTIMEOUT, 10);
|
|
|
+ curl_setopt($this->ch, CURLOPT_CONNECTTIMEOUT, 5);
|
|
|
+ curl_setopt($this->ch, CURLOPT_TIMEOUT, 5);
|
|
|
curl_setopt($this->ch, CURLOPT_COOKIEJAR, $this->cookies);
|
|
|
curl_setopt($this->ch, CURLOPT_COOKIEFILE, $this->cookies);
|
|
|
curl_setopt($this->ch, CURLOPT_HEADERFUNCTION, "self::getHeaders");
|