Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CoreRESTApi] Fix httpMultipart loop #35265

Merged
merged 3 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,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_57.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.56",
"currentVersion": "1.3.57",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Loading