$this->response_status = 0;
$http = new http_class;
$http->debug = ($this->debug && $this->debug_http);
+ $http->timeout = 30;
+ $http->data_timeout = 60;
$http->log_debug = true;
$http->sasl_authenticate = 0;
$http->user_agent = $this->oauth_user_agent;
{
$values = array(
'oauth_consumer_key'=>$this->client_id,
- 'oauth_nonce'=>md5(uniqid(rand(), true)),
+ //'oauth_nonce'=>md5(uniqid(rand(), true)),
+ 'oauth_nonce'=>sha1(uniqid(mt_rand(), true).uniqid(mt_rand(), true)),
'oauth_signature_method'=>$this->signature_method,
'oauth_timestamp'=>time(),
'oauth_version'=>'1.0',
*/
-?>
\ No newline at end of file
+?>