We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f9bad2 commit a984cf1Copy full SHA for a984cf1
src/IBS/Client.php
@@ -147,7 +147,7 @@ public function request($cmd, $path = "")
147
curl_setopt_array($this->chandle, [
148
// CURLOPT_VERBOSE => $this->debugMode,
149
CURLOPT_URL => $cfg["CONNECTION_URL"],
150
- CURLOPT_CONNECTTIMEOUT => 5, // 5s
+ CURLOPT_CONNECTTIMEOUT => 15, // 15s
151
CURLOPT_TIMEOUT => $this->settings["socketTimeout"],
152
CURLOPT_POST => 1,
153
CURLOPT_HEADER => 0,
@@ -160,6 +160,8 @@ public function request($cmd, $path = "")
160
"Content-Length: " . strlen($data),
161
"Connection: keep-alive"
162
],
163
+ CURLOPT_SSL_VERIFYPEER => 0, // IBS only
164
+ CURLOPT_SSL_VERIFYHOST => 0 // IBS only
165
] + $this->curlopts);
166
167
// which is by default tested for by phpStan
0 commit comments