cmullaparthi / ibrowse

Erlang HTTP client
Other
516 stars 190 forks source link

Add max_attempts option #125

Closed marcelog closed 9 years ago

marcelog commented 9 years ago

Hello,

This pull adds a new option max_attempts suitable to control the number of attempts being done for a request (currently 3 attempts is hardcoded in the code, and this aims to provide a bit more flexibility on that).

Any thoughts?

Thanks in advance!

cmullaparthi commented 9 years ago

Thanks Marcelo. I've merged it into master.

marcelog commented 9 years ago

Great! Thank you :)