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 не выходит сразу, а исправно вызывает таймеры, пока не останется ни одного. +После этого процесс завершается. + ### Прототип функции таймера ```