We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b013234 commit f5a0647Copy full SHA for f5a0647
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "cos-nodejs-sdk-v5",
3
- "version": "2.9.19",
+ "version": "2.9.20",
4
"description": "cos nodejs sdk v5",
5
"main": "index.js",
6
"types": "index.d.ts",
sdk/base.js
@@ -3450,6 +3450,8 @@ function allowRetry(err) {
3450
}
3451
} else if (Math.floor(err.statusCode / 100) === 5) {
3452
allowRetry = true;
3453
+ } else if (err.code === 'ECONNRESET') {
3454
+ allowRetry = true;
3455
3456
3457
return allowRetry;
0 commit comments