{"version":"2.1.327","anchor":"remote-session-server-limits-added","canonical_anchor":"remote-session-server-limits-added","heading":"The agent proxy now caps connections and times out slow requests","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/remote-session-server-limits-added","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### The agent proxy now caps connections and times out slow requests\n\nThe agent proxy now allows up to 8192 connections and 30 seconds per request header, and says why when it refuses one\n\n**What**\n\nThe agent proxy is the go-between that some of Claude Code's network requests pass through, for example downloads made from a sandbox, a restricted environment that limits what commands can reach. It now has limits:\n\n- `maxClientConnections: 8192` caps how many connections can be open at once.\n\n- `requestHeadTimeoutMs: 30000` gives each request 30 seconds to send its opening header.\n\nWhen it refuses, it now reports one of three new reasons: it is at its connection limit, a request header took longer than 30 seconds, or something went wrong inside its own handler. The first reads `the agent proxy had as many connections open as it allows and refused this one`.\n\n**Why**\n\nA request that fails through the proxy now says why, instead of failing without a reason. A very large number of connections at once, or a request that is very slow to start, can now be refused.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}