httpc:request has a default timeout of infinity. This PR ensures that both the connect and request phase uses a timeout
Fixes #25
I set the timeout to 2250ms so that in the extreme case of connect success at 2249ms and request data received in 2249ms, there's still a chance that a gen_server:call won't time out.
httpc:request has a default timeout of infinity. This PR ensures that both the connect and request phase uses a timeout
Fixes #25
I set the timeout to
2250
ms so that in the extreme case of connect success at 2249ms and request data received in 2249ms, there's still a chance that agen_server:call
won't time out.