teknium1
95a0f9c836
fix(mcp): close select-to-bind TOCTOU on the OAuth callback port
...
_find_free_port() closed its probe socket before HTTPServer re-bound
the port minutes later, leaving a window where another process could
steal it (#22161 by @amathxbt). _reserve_callback_port() now keeps the
selected socket bound (bounded FIFO pool) until _wait_for_callback
adopts it via bind_and_activate=False. Also sets allow_reuse_address
BEFORE binding — the cherry-picked #44872 set it after the constructor
had already bound, where it is a no-op.
Also updates the three #57836 non-interactive-guard tests to the
closure-factory API from #44872 .
2026-07-16 05:39:52 -07:00
..
2026-07-05 14:48:40 -07:00
2026-07-12 22:43:57 -07:00
2026-07-13 04:31:55 -07:00
2026-07-13 04:31:55 -07:00
2026-07-06 04:58:42 -07:00
2026-07-14 23:36:37 -07:00
2026-07-16 01:28:24 -07:00
2026-07-16 04:24:07 -07:00
2026-07-16 04:25:19 -07:00
2026-07-16 00:34:20 +05:30
2026-07-14 02:59:39 +05:30
2026-07-16 00:18:38 -07:00
2026-07-10 18:50:28 +05:30
2026-07-09 15:38:32 +05:30
2026-07-07 02:40:04 -07:00
2026-07-05 14:41:51 -07:00
2026-07-16 08:52:47 +10:00
2026-07-13 04:31:55 -07:00
2026-07-13 01:59:58 -04:00
2026-07-05 14:42:05 -07:00
2026-07-16 00:18:38 -07:00
2026-07-06 01:55:58 -07:00
2026-07-16 00:18:38 -07:00
2026-07-16 00:18:38 -07:00
2026-07-16 00:18:38 -07:00
2026-07-14 17:09:40 +05:30
2026-07-13 16:14:18 -04:00
2026-07-05 02:24:00 -07:00
2026-07-05 13:51:26 -07:00
2026-07-14 02:59:39 +05:30
2026-07-04 15:30:50 -07:00
2026-07-06 04:58:42 -07:00
2026-07-12 23:09:41 -07:00
2026-07-14 22:00:28 -07:00
2026-07-16 01:28:24 -07:00
2026-07-16 01:28:13 -07:00
2026-07-16 01:28:24 -07:00
2026-07-07 15:16:00 -07:00
2026-07-05 13:40:21 -07:00
2026-07-16 05:39:52 -07:00
2026-07-05 19:10:31 -07:00
2026-07-05 21:36:19 -07:00
2026-07-05 19:10:31 -07:00
2026-07-05 21:48:36 -07:00
2026-07-14 13:59:38 -07:00
2026-07-05 02:06:39 -07:00
2026-07-07 15:16:00 -07:00
2026-07-07 15:16:00 -07:00
2026-07-07 15:16:00 -07:00
2026-07-05 21:48:36 -07:00
2026-07-07 15:16:00 -07:00
2026-07-09 15:38:32 +05:30
2026-07-07 02:10:43 -07:00
2026-07-09 20:03:11 -07:00
2026-07-13 02:42:18 -07:00
2026-07-15 23:51:43 -07:00
2026-07-09 21:32:01 -07:00
2026-07-07 15:14:30 -07:00
2026-07-16 00:18:38 -07:00
2026-07-14 22:14:10 -07:00
2026-07-07 02:52:17 -07:00
2026-07-09 15:38:32 +05:30
2026-07-16 00:18:38 -07:00
2026-07-12 02:59:27 -07:00
2026-07-05 13:42:46 -07:00
2026-07-05 22:21:05 -07:00
2026-07-09 15:38:14 +05:30
2026-07-07 05:14:00 -07:00
2026-07-09 15:38:32 +05:30
2026-07-14 22:00:28 -07:00
2026-07-16 00:18:38 -07:00
2026-07-14 02:59:39 +05:30
2026-07-14 02:59:39 +05:30
2026-07-14 02:59:39 +05:30
2026-07-14 02:59:39 +05:30
2026-07-13 22:26:19 -07:00
2026-07-14 02:59:39 +05:30
2026-07-14 02:59:39 +05:30
2026-07-07 02:39:36 -07:00
2026-07-05 00:47:54 -07:00
2026-07-14 02:59:39 +05:30
2026-07-04 15:30:50 -07:00
2026-07-05 00:47:54 -07:00
2026-07-05 13:42:46 -07:00
2026-07-06 04:38:17 -07:00
2026-07-09 20:28:44 -07:00
2026-07-10 19:14:06 +05:30
2026-07-09 15:38:32 +05:30
2026-07-08 06:17:56 -07:00
2026-07-07 22:14:33 -07:00