cliffano / bagofrequest

A bag-of-holding containing request utility functions
MIT License
1 stars 3 forks source link

Added support for socket error retries, handler for errors, passed resul... #4

Closed dbrain closed 11 years ago

dbrain commented 11 years ago

...t through even on error (so _retry information is accessible)

cliffano commented 11 years ago

Here's a list of error codes: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html

dbrain commented 11 years ago

I've switched the retryOnSocketError around to an errorCodes array. Thought about this originally but went against it, fair call on the 'host name does not exist' -> fail fast part though.