feat(xen-api/{get,put}Resource): distringuish cancelation and connection issue

See xoa-support#3643
This commit is contained in:
Julien Fontanet 2021-06-05 01:15:13 +02:00
parent d44509b2cd
commit 057a1cbab6
7 changed files with 14 additions and 9 deletions

View File

@ -33,7 +33,7 @@
"content-type": "^1.0.4",
"cson-parser": "^4.0.7",
"getopts": "^2.2.3",
"http-request-plus": "^0.10.0",
"http-request-plus": "^0.11.1",
"json-rpc-protocol": "^0.13.1",
"promise-toolbox": "^0.19.2",
"pump": "^3.0.0",

View File

@ -35,7 +35,7 @@
"form-data": "^4.0.0",
"fs-extra": "^9.0.0",
"get-stream": "^6.0.0",
"http-request-plus": "^0.10.0",
"http-request-plus": "^0.11.1",
"human-format": "^0.11.0",
"l33teral": "^3.0.3",
"lodash": "^4.17.4",

View File

@ -8,6 +8,7 @@
> Users must be able to say: “Nice enhancement, I'm eager to test it”
- [OVA import] improve OVA import error reporting (PR [#5797](https://github.com/vatesfr/xen-orchestra/pull/5797))
- [Backup] Distinguish error messages between cancelation and interrupted HTTP connection
### Bug fixes
@ -32,5 +33,9 @@
>
> In case of conflict, the highest (lowest in previous list) `$version` wins.
- xen-api patch
- @xen-orchestra/xapi patch
- @xen-orchestra/backups patch
- @xen-orchestra/proxy patch
- xo-server patch
- xo-web patch

View File

@ -34,7 +34,7 @@
"bind-property-descriptor": "^1.0.0",
"blocked": "^1.2.1",
"debug": "^4.0.1",
"http-request-plus": "^0.10.0",
"http-request-plus": "^0.11.1",
"jest-diff": "^26.4.2",
"json-rpc-protocol": "^0.13.1",
"kindof": "^2.0.0",

View File

@ -34,7 +34,7 @@
"chalk": "^4.1.0",
"exec-promise": "^0.7.0",
"fs-extra": "^9.0.0",
"http-request-plus": "^0.10.0",
"http-request-plus": "^0.11.1",
"human-format": "^0.11.0",
"l33teral": "^3.0.3",
"lodash": "^4.17.4",

View File

@ -75,7 +75,7 @@
"helmet": "^3.9.0",
"highland": "^2.11.1",
"http-proxy": "^1.16.2",
"http-request-plus": "^0.10.0",
"http-request-plus": "^0.11.1",
"http-server-plus": "^0.11.0",
"human-format": "^0.11.0",
"iterable-backoff": "^0.1.0",

View File

@ -8377,10 +8377,10 @@ http-proxy@^1.16.2, http-proxy@^1.17.0:
follow-redirects "^1.0.0"
requires-port "^1.0.0"
http-request-plus@^0.10.0:
version "0.10.0"
resolved "https://registry.yarnpkg.com/http-request-plus/-/http-request-plus-0.10.0.tgz#1cdf07c9c7d7742a6ca5aa279333187983ec632f"
integrity sha512-iWU3gGjhHUtC2QjzEvy4fEdVSeeQ9jVZ0cNl6WItgJTAo8xnVHUQqKE0ke12Momc5OZitvRj/RpB55LbIt3+fA==
http-request-plus@^0.11.1:
version "0.11.1"
resolved "https://registry.yarnpkg.com/http-request-plus/-/http-request-plus-0.11.1.tgz#792fbc907e05218f9aafcc9455a0b487722874db"
integrity sha512-FOS0BfygS2Ac66m1AUPS+Mj/seNqHA0aZTR/2U1Tkg7t//L1LNsNZb+9YMotfEgULhuQEd2N8kHI7OsZmOIYEA==
dependencies:
is-redirect "^1.0.0"
promise-toolbox "^0.19.2"