Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Kill Atlas API session after import command is completed
Labels:
Expert Contributor
Created ‎11-02-2022 09:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am working on importing multiple Atlas entities using Atlas API calls. After completing execution of each curl command, the message I get is "connection is left intact". Is there a way to kill / terminate this connection to Atlas server?
Thanks
snm1523
1 REPLY 1
Expert Contributor
Created ‎03-26-2025 01:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @snm1523
Add Connection: close header to your curl requests to ensure the connection is closed after each request.
Alternatively, use --no-keepalive in the curl command to prevent persistent connections.
If necessary, adjust server settings to force connections to close after each request.
