{"action":"opened","issue":{"url":"https://api.github.com/repos/antidot/PHP_API/issues/23","labels_url":"https://api.github.com/repos/antidot/PHP_API/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/antidot/PHP_API/issues/23/comments","events_url":"https://api.github.com/repos/antidot/PHP_API/issues/23/events","html_url":"https://github.com/antidot/PHP_API/issues/23","id":65204280,"number":23,"title":"Add a timeout to http calls","user":{"login":"david111","id":160877,"avatar_url":"https://avatars.githubusercontent.com/u/160877?v=3","gravatar_id":"","url":"https://api.github.com/users/david111","html_url":"https://github.com/david111","followers_url":"https://api.github.com/users/david111/followers","following_url":"https://api.github.com/users/david111/following{/other_user}","gists_url":"https://api.github.com/users/david111/gists{/gist_id}","starred_url":"https://api.github.com/users/david111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david111/subscriptions","organizations_url":"https://api.github.com/users/david111/orgs","repos_url":"https://api.github.com/users/david111/repos","events_url":"https://api.github.com/users/david111/events{/privacy}","received_events_url":"https://api.github.com/users/david111/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-30T12:51:57Z","updated_at":"2015-03-30T12:51:57Z","closed_at":null,"body":"In  PHP_API/AFS/afs_connector.php, before the call to curl_exec(), you should set a timeout in case the Antidot servers are down or any other network problem (firewall ...). Thanks.\r\n"}}