Browse Source

drobne poprawki cd.

Mariusz Muszyński 7 years ago
parent
commit
68e8cdd5ab
1 changed files with 2 additions and 1 deletions
  1. 2 1
      SE/se-lib/VAT.php

+ 2 - 1
SE/se-lib/VAT.php

@@ -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");