Commit 6381e8fe authored by Alex Ne's avatar Alex Ne

трабла, когда несколько ип на серве отсекаем ипв6

parent 76fdae8a
...@@ -35,6 +35,7 @@ class Client extends ClientSettings { ...@@ -35,6 +35,7 @@ class Client extends ClientSettings {
} }
curl_setopt($curl, CURLOPT_TIMEOUT, $this->data["timeout"]); curl_setopt($curl, CURLOPT_TIMEOUT, $this->data["timeout"]);
curl_setopt($curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_HEADER, true); curl_setopt($curl, CURLOPT_HEADER, true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment