asu-ke-web-services / search-api

Search API for documents, data, research, people, etc
MIT License
2 stars 1 forks source link

Timeout and Error Handling in HttpGet command #59

Closed kenprice closed 8 years ago

kenprice commented 8 years ago

An issue came up when discussing the use of curl in HttpGet (#57).

HttpGet Command should

Parts of the code that rely on HttpGet should

@ESmith92 in #57

also should we add a timeout for the curl (var seconds = 120; curl_setopt($ch, CURLOPT_TIMEOUT, seconds );) ... one more thing: we should add a get function for curl info (return curl_getinfo( $curl );) so we can throw exceptions

kenprice commented 8 years ago

Being addressed in PR #88