I have an http request that sometimes receives no response (timeout err0r). How should I handle this, perhaps reducing the original timeout and then repeating the request some number of times.
1 Answer
You can use setTimeout in the request.
Take a look at: http://nodejs.org/api/http.html#http_request_settimeout_timeout_callback