Permalink
Browse files

Reset url when reusing resource. Thanks to Richard Keizer for pointin…

…g out this issue.
  • Loading branch information...
1 parent f8ccebc commit 5740a496a41be381682f23c6e0d902ce51d21ea3 @marcguyer committed May 26, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Client/CurlAdapter.php
View
@@ -66,6 +66,7 @@ public function request($url, $username, $password, array $args = null) {
} else {
curl_setopt($this->_resource, CURLOPT_USERPWD, $username . ':' . $password);
curl_setopt($this->_resource, CURLOPT_HTTPGET, true);
+ curl_setopt($this->_resource, CURLOPT_URL, $url);
}
if ($args) {

0 comments on commit 5740a49

Please sign in to comment.