[erlang-questions] [Beginner]How do I find out if ibrowse:send_req/5 has timed out?

Chandru chandrashekhar.mullaparthi@REDACTED
Wed Apr 16 14:10:34 CEST 2008


Hi Vik,

On 16/04/2008, Vik Olliver <vik@REDACTED> wrote:
> Hello Erlangers. I'm still at the "struggling bravely" phase and peering
>  at code which is still somewhat over my head.
>
>  Part of this uses ibrowse:send_req/5, which doesn't have a timeout. Or
>  at least none it owns up to. Will it timeout eventually, and if so how
>  do I tell that it did?
>
>  If it doesn't time out, same basic question applies should I use
>  ibrowse:send_req/6 - how do I tell?

If you don't specify a timeout, a default value of 30 seconds applies.

regards,
Chandru



More information about the erlang-questions mailing list