From 0f63e09d64a2b07fc8e00341d320895f471ba31b Mon Sep 17 00:00:00 2001 From: bol-van Date: Mon, 13 Apr 2026 15:41:04 +0300 Subject: [PATCH] update docs --- docs/manual.en.md | 4 ++++ docs/manual.md | 3 +++ 2 files changed, 7 insertions(+) diff --git a/docs/manual.en.md b/docs/manual.en.md index 0bc4344..d613f27 100644 --- a/docs/manual.en.md +++ b/docs/manual.en.md @@ -1621,6 +1621,10 @@ Using timers, desync functions, and send functions, you can build a full-fledged The system should be designed asynchronously, using a state machine. Direct sleep delays is not the option, as they break the queue-based traffic processing scheme. While you're waiting, everything else will hang. +In the `--intercept=0` mode, if there are timers, nfqws2 doesn't exit immediately, but calls the timers until there are none left. +After this, the process terminates. + + ### Timer function prototype ``` diff --git a/docs/manual.md b/docs/manual.md index 78118af..ebd77d6 100644 --- a/docs/manual.md +++ b/docs/manual.md @@ -1768,6 +1768,9 @@ nfqws2 - программа однопоточная, как и движок Lua Проектировать схему нужно асинхронно в стиле конечного автомата. Прямые задержки sleep в коде не предусмотрены, поскольку ломают схему обработки трафика через очередь. Пока вы ждете - остальное повиснет. +В режиме `--intercept=0` при наличии таймеров nfqws2 не выходит сразу, а исправно вызывает таймеры, пока не останется ни одного. +После этого процесс завершается. + ### Прототип функции таймера ```