requestretry
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -14,3 +14,3 @@ 'use strict'; | ||
var RETRIABLE_ERRORS = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED']; | ||
var RETRIABLE_ERRORS = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED', 'EHOSTUNREACH']; | ||
@@ -17,0 +17,0 @@ var DEFAULTS = { |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"repository": { | ||
@@ -12,0 +12,0 @@ "url": "https://github.com/FGRibreau/node-request-retry" |
@@ -5,3 +5,3 @@ # Request-retry [](https://david-dm.org/FGRibreau/node-request-retry) | ||
When the connection fails with one of `ECONNRESET`, `ENOTFOUND`, `ESOCKETTIMEDOUT`, `ETIMEDOUT`, `ECONNREFUSED` or when an HTTP 5xx error occurrs, the request will automatically be re-attempted as these are often recoverable errors and will go away on retry. | ||
When the connection fails with one of `ECONNRESET`, `ENOTFOUND`, `ESOCKETTIMEDOUT`, `ETIMEDOUT`, `ECONNREFUSED`, `EHOSTUNREACH` or when an HTTP 5xx error occurrs, the request will automatically be re-attempted as these are often recoverable errors and will go away on retry. | ||
@@ -41,2 +41,6 @@ ## Usage | ||
v1.0.3 | ||
- added `EHOSTUNREACH` | ||
v1.0.2 | ||
@@ -51,5 +55,10 @@ | ||
v1.0.0: request now yield an Request instance with a `.abort()` method. | ||
v0.0.1: Initial commit | ||
v1.0.0: | ||
- request now yield an Request instance with a `.abort()` method. | ||
v0.0.1 | ||
- initial commit | ||
Copyright 2014, [Francois-Guillaume Ribreau](http://fgribreau.com) (npm@fgribreau.com) |
5763
62