How Does the ICAP Server Handle a Batch When One File Fails?

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
    1. The ICAP Server initializes a new batch to group the incoming files.
    2. Parallel Submission to MD-Core
    3. 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.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
On This Page