mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
disable curl cache
This commit is contained in:
parent
da541bf273
commit
d9cbc6af73
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ class Curl
|
||||||
curl_setopt($this->_connection, CURLOPT_MAXREDIRS, $maxRedirects);
|
curl_setopt($this->_connection, CURLOPT_MAXREDIRS, $maxRedirects);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
curl_setopt($this->_connection, CURLOPT_FRESH_CONNECT, true);
|
||||||
curl_setopt($this->_connection, CURLOPT_RETURNTRANSFER, true);
|
curl_setopt($this->_connection, CURLOPT_RETURNTRANSFER, true);
|
||||||
curl_setopt($this->_connection, CURLOPT_CONNECTTIMEOUT, $connectTimeout);
|
curl_setopt($this->_connection, CURLOPT_CONNECTTIMEOUT, $connectTimeout);
|
||||||
curl_setopt($this->_connection, CURLOPT_TIMEOUT, $connectTimeout);
|
curl_setopt($this->_connection, CURLOPT_TIMEOUT, $connectTimeout);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue