10708 Posts in 2389 Topics by 1763 members
|Go to End|
20 March 2009 at 7:23pm
Sorry if not the right place to post but I wanted to post about an issue I have encountered a couple times with the RestfulService.php.
on line 122 there is a call to $responseBody = curl_exec($ch);
and then again on line 125.
I have manually removed the line a few times after downloading latest builds of 2.3 and the forget to mention it the Silverstripe community.
Basically this means that the service makes a double call to the url being consumed with the service call. Most of the time this is probably not an issue other performance hits.
But in cases where a single hit to service is setting a state of any kind it may cause some havoc.
Just curious if this curl_exec double up is a bug...or if it is actually there for some reason.
|Go to Top|