Skip to content

Use sock->nchildren instead of mgr->nworkers when initializing NM

Ondřej Surý requested to merge ondrej/fix-the-windows-nchildren-problem into main

On Windows, we were limiting the number of listening children to just 1, but we were then iterating on mgr->nworkers. That lead to scheduling more async_*listen() than actually allocated and out-of-bound read-write operation on the heap.

Merge request reports