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 c28ada3 commit 5afc327Copy full SHA for 5afc327
1 file changed
src/Psr18/CurlHandle.php
@@ -247,7 +247,11 @@ public function init(){
247
}
248
249
// overwrite the default values with $curl_options
250
- \curl_setopt_array($this->curl, $options + $this->options->curl_options);
+ foreach($this->options->curl_options as $k => $v){
251
+ $options[$k] = $v;
252
+ }
253
+
254
+ \curl_setopt_array($this->curl, $options);
255
256
return $this->curl;
257
0 commit comments