How Does the ICAP Server Handle a Batch When One File Fails?
- This article applies to all MD ICAP versions
Summary:
This article explains the behavior of the ICAP Server when processing a batch of files, particularly when one of the files fails during submission to the MetaDefender Core (MD-Core) engine.
Behavior Overview
When the ICAP Server receives a request that contains multipart form, it processes the request in the following sequence:
- Batch Initialization
- The ICAP Server initializes a new batch to group the incoming files.
- Parallel Submission to MD-Core
- Each part are sent to MD-Core concurrently using the API:
POST /file
Note: The default maximum concurrency is 5.
- If a File Fails During Submission from MD Core
- When a file fails to submit, the ICAP Server will trigger a batch scan cancellation.
- Note: Batch scan cancellation currently only occurs when a file POST request to MD Core fails. Other failure scenarios are under review for future enhancements and are not yet supported.

If you require further assistance, please follow these instructions on How to Create Support Package?, before creating a support case or chatting with our support engineer.
Was this page helpful?