-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
[](https://npmjs.org/package/requestretry) | ||
|
||
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. | ||
|
||
## Usage | ||
|
||
|
@@ -37,6 +37,10 @@ Install with [npm](https://npmjs.org/package/requestretry). | |
|
||
## Changelog | ||
|
||
v1.0.3 | ||
|
||
- added `EHOSTUNREACH` | ||
|
||
v1.0.2 | ||
|
||
- upgraded `request` to 2.44.0 (19/09/2014) | ||
|
@@ -46,7 +50,12 @@ v1.0.1: | |
|
||
- added `cancelable` as deps | ||
|
||
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) ([email protected]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters