TapTap
5334397b81
feat(daemon): add shared cross-process connection registry
...
The daemon forks one child per accepted connection, so per-module and
per-source accounting must live in state shared across the children. Add a
fixed-size registry carved from an anonymous shared mapping
(mmap(MAP_SHARED|MAP_ANONYMOUS)) created before the accept loop: a slot
lifecycle (FREE/CLAIMED/REGISTERED) with parent claim/reclaim and a
lock-free, open-addressed per-source table for the per-host occupancy and
the shared auth-failure counter. C11 atomics only; no pthread locks across
fork.
Unit tests cover slot exhaustion, the module/host caps, pid reclaim and
fork-shared visibility.
2026-09-13 10:23:58 +02:00
..
2026-09-13 06:59:02 +02:00
2026-09-13 06:24:46 +02:00
2026-09-08 17:25:56 +02:00
2026-09-13 10:23:58 +02:00
2026-09-13 00:59:21 +02:00
2026-06-10 16:58:35 +02:00
2026-09-10 22:05:18 +02:00
2026-09-10 21:40:07 +02:00
2026-09-06 12:34:10 +02:00
2026-09-06 12:34:10 +02:00
2026-09-07 19:50:52 +02:00
2026-09-07 17:42:53 +02:00
2026-09-08 22:53:47 +02:00
2026-06-10 16:58:35 +02:00
2026-09-13 06:22:28 +02:00
2026-07-29 19:19:19 +02:00
2026-09-13 04:18:55 +02:00
2026-07-04 21:25:34 +02:00
2026-09-13 07:20:28 +02:00
2026-06-10 16:58:35 +02:00
2026-09-12 19:29:23 +02:00
2026-09-10 12:50:56 +02:00
2026-09-13 02:51:07 +02:00
2026-09-09 17:48:07 +02:00
2026-09-13 10:23:58 +02:00
2026-09-13 10:23:58 +02:00
2026-07-20 19:42:53 +02:00
2026-07-20 14:44:35 +02:00
2026-09-06 14:19:18 +02:00
2026-09-06 13:20:03 +02:00
2026-09-07 17:42:53 +02:00
2026-07-18 20:00:15 +02:00
2026-09-13 04:52:10 +02:00
2026-09-13 04:16:28 +02:00
2026-08-30 13:50:42 +02:00
2026-07-20 19:42:53 +02:00
2026-09-13 05:19:18 +02:00
2026-09-09 14:23:59 +02:00
2026-09-13 05:24:23 +02:00
2026-07-29 19:19:19 +02:00
2026-07-20 19:42:53 +02:00
2026-07-20 14:44:35 +02:00
2026-09-13 06:24:46 +02:00
2026-09-13 06:24:46 +02:00
2026-09-10 17:49:29 +02:00
2026-09-10 17:13:06 +02:00
2026-09-13 01:44:59 +02:00
2026-07-20 19:42:53 +02:00
2026-09-13 05:24:23 +02:00
2026-07-20 14:44:35 +02:00
2026-09-10 13:52:24 +02:00
2026-09-10 13:52:24 +02:00
2026-09-13 07:20:28 +02:00
2026-07-20 19:42:53 +02:00
2026-09-01 20:46:07 +02:00
2026-07-20 14:44:35 +02:00
2026-09-13 06:22:28 +02:00
2026-07-20 14:44:35 +02:00
2026-08-16 09:37:28 +02:00
2026-06-10 16:58:35 +02:00
2026-09-13 03:46:20 +02:00
2026-09-13 03:29:01 +02:00
2026-09-04 02:25:26 +02:00
2026-07-20 14:44:35 +02:00
2026-09-13 04:06:30 +02:00
2026-07-04 21:25:34 +02:00
2026-09-12 14:54:47 +02:00
2026-09-09 17:48:07 +02:00
2026-09-12 15:03:54 +02:00
2026-07-29 19:19:19 +02:00
2026-09-13 04:52:10 +02:00
2026-06-10 16:58:35 +02:00
2026-09-10 17:39:34 +02:00
2026-09-10 16:27:49 +02:00
2026-08-16 09:37:28 +02:00
2026-07-20 14:44:35 +02:00
2026-09-12 15:01:48 +02:00
2026-07-21 16:55:07 +02:00
2026-09-13 04:18:55 +02:00
2026-07-21 16:55:07 +02:00
2026-09-12 15:01:48 +02:00
2026-07-21 16:55:07 +02:00
2026-07-20 21:04:53 +02:00
2026-09-12 15:03:54 +02:00
2026-09-08 22:27:53 +02:00