Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client/Adapter/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ public function write($method, $uri, $httpVersion = 1.1, $headers = array(), $bo

// set additional curl options
if (isset($this->config['curloptions'])) {
foreach ((array)$this->config['curloptions'] as $k => $v) {
foreach ((array) $this->config['curloptions'] as $k => $v) {
if (!in_array($k, $this->invalidOverwritableCurlOptions)) {
if (curl_setopt($this->curl, $k, $v) == false) {
throw new AdapterException\RuntimeException(sprintf("Unknown or erroreous cURL option '%s' set", $k));
Expand Down

0 comments on commit a0078e6

Please sign in to comment.