Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
X Lib
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
XLibs
X Lib
Commits
6381e8fe
Commit
6381e8fe
authored
Nov 03, 2016
by
Alex Ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
трабла, когда несколько ип на серве отсекаем ипв6
parent
76fdae8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
Client.php
Network/Http/Client.php
+1
-0
No files found.
Network/Http/Client.php
View file @
6381e8fe
...
...
@@ -35,6 +35,7 @@ class Client extends ClientSettings {
}
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_SSL_VERIFYPEER
,
false
);
curl_setopt
(
$curl
,
CURLOPT_HEADER
,
true
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment