Refactor delayed verdict handling and add configurable retries

Extract HandleDelayedVerdict() to eliminate duplication and make
retry count and polling time configurable. Add delayed verdict
handling to SendRequestEnd with unit tests.
This commit is contained in:
Granyaa
2025-12-23 16:01:46 +02:00
parent 565adf10a1
commit 7884c711e2
6 changed files with 92 additions and 80 deletions

View File

@@ -56,6 +56,8 @@ unsigned int getResHeaderThreadTimeout();
unsigned int getResBodyThreadTimeout();
unsigned int getWaitingForVerdictThreadTimeout();
unsigned int getHoldVerdictRetries();
unsigned int getHoldVerdictPollingTime();
int isIPAddress(c_str ip_str);
int isSkipSource(c_str ip_str);