inspector/core/mcp/node
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall a7c4c5260e fix: bound the 401/403 body read so an unending body is released (#2297)
Copilot review round 1. With the tracker below the auth-challenge
interceptor, its background clone kept draining a 401 body after the
interceptor cancelled its own branch — so a body that never ended left the
connection live. Read a 401/403 body up front instead, capped at 64 KiB and
2s, and cancel the clone's reader when either bound is hit so the
interceptor's cancel releases the source. The body now lands on the entry
itself before the challenge is thrown.

Also cover the web path end to end: a streamable-http 401 on
/api/mcp/send reaches the event stream with its status and body.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SG6q6YEDJyJB5H2Hr8nBDS
Signed-off-by: cliffhall <cliff@futurescale.com>
2026-09-14 01:01:15 -04:00
..
authChallengeFetch.ts fix: bound the 401/403 body read so an unending body is released (#2297) 2026-09-14 01:01:15 -04:00
config.ts chore(deps): migrate to eslint 10 to clear the brace-expansion DoS advisory (#1900) 2026-08-01 20:13:30 -04:00
index.ts fix(proxy): route through undici's own fetch and keep undici external 2026-08-23 21:12:16 -04:00
proxyFetch.ts test(proxy): isolate proxy env per file; word the guard failure by candidate source 2026-08-23 23:00:28 -04:00
server-secrets.ts fix(auth): address Copilot review round 13 2026-08-22 19:39:45 -04:00
servers.ts feat: bound connect attempts with a 30 s default connectionTimeout (#2320) 2026-09-13 20:54:23 -04:00
transport.ts fix: bound the 401/403 body read so an unending body is released (#2297) 2026-09-14 01:01:15 -04:00