浏览代码

drobne poprawki cd.

Mariusz Muszyński 7 年之前
父节点
当前提交
68e8cdd5ab
共有 1 个文件被更改,包括 2 次插入1 次删除
  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");