- It is highly recommended that the API call does not enforce the malware-scanning operation synchronously. Instead, queue the request to some internal queue and return the response back, unblocking the client (Symproxy).
- The service should be idempotent. There could be multiple submissions for the same file.
When invoking the
malware-scanner/v1/fileendpoint on the scanner, symproxy will wait a maximum of 10 seconds for a response from the scanner. If it does not get a response in 10 seconds, it will retry.
It will try three times to invoke the
malware-scanner/v1/fileendpoint on the scanner if each previous attempt is unsuccessful.