]> git.mxchange.org Git - friendica-addons.git/blobdiff - pumpio/oauth/oauth_client.php
Pumpio: Timeout should now work
[friendica-addons.git] / pumpio / oauth / oauth_client.php
index 2a709aab4e8025af9d0c4278708a521e465e4769..0e5fa4a58970fc82654973345940136b1c019992 100644 (file)
@@ -998,6 +998,8 @@ class oauth_client_class
                $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;