Skip to content

Commit

Permalink
[CoreRESTApi] Fix httpMultipart loop (demisto#35265)
Browse files Browse the repository at this point in the history
* init

* bump version
  • Loading branch information
jlevypaloalto authored and xsoar-bot committed Sep 10, 2024
1 parent 1bee87d commit 9c0bd95
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ sendMultipart = function (uri, entryID, body) {
'file'
);
tries++;
} while (tries < 3 && res.Status.startsWith('timeout while waiting for answer'));
} while (tries < 3 && res.Status.startsWith('timeout'));
logDebug("Ran httpMultipart() " + tries + " time(s)")

if (res.StatusCode < 200 || res.StatusCode >= 300) {
Expand Down
6 changes: 6 additions & 0 deletions Packs/DemistoRESTAPI/ReleaseNotes/1_3_58.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### Core REST API

- Fixed an issue where the `core-api-install-packs` command reached a timeout when installing large packs.
2 changes: 1 addition & 1 deletion Packs/DemistoRESTAPI/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Cortex REST API",
"description": "Use Demisto REST APIs",
"support": "xsoar",
"currentVersion": "1.3.57",
"currentVersion": "1.3.58",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit 9c0bd95

Please sign in to comment.