Follow Discord
Sweep 30 Oct 2026 · 01:02Z Build v2.1.314 532 read Stable v2.1.308 Latest v2.1.314 Next v2.1.314 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.314 ·

Remote session connections can fall back to long polling when a proxy buffers the stream

The remote session streaming connection gains a long-poll fallback for silent connections, controlled by CLAUDE_CODE_CCR_LONG_POLL or a gate

Group of 3 You'll notice Improvements
JSON All of v2.1.314
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.314,
ImprovementsSection of the release

Unclear Nothing shows what makes a connection ask for a long poll, so this path may never run.

What

Remote sessions receive updates over a streaming connection (SSE, a single long-lived connection the server keeps sending data down). Some proxies hold back that data, so the connection looks silent. The CCR SSE connection used by remote sessions now has a fallback to long polling, where the client asks the server for a response, the server answers and closes, and the client immediately asks again.

  • The connection counts, per connection, how many body bytes arrived and how many connections in a row closed without delivering anything (bodyBytesThisConnection, silentConnectionStreak).
  • After a run of silent connections it switches into long-poll mode (longPollMode) and asks the server for long-poll responses on later connects (askedLongPollThisConnection). The message it records says it is "asking the server for long-poll responses (a proxy may be buffering the response body)".
  • When a long-poll connection finishes cleanly and either moved the conversation forward or ran past a time limit, it logs SSETransport: Long poll completed, reopening and reopens at once instead of going through the normal reconnect path. Before, a stream ending always logged SSETransport: Stream ended, reconnecting.
  • Redials in long-poll mode are quiet (quietRedial) and skip the usual connection reporting.
  • The timeout that decides a connection is dead now allows for the long-poll interval the server reports back. Before, it was keepaliveIntervalMs() plus a fixed margin.
  • The environment variable CLAUDE_CODE_CCR_LONG_POLL overrides the behaviour: true forces long polling, false turns it off.
  • Without that variable, the new longPollFallback option decides. It is set only when the client owns the process, a further check passes, and the gate tengu_ccr_sse_long_poll_fallback allows it. Nothing has been read about that gate's value.

Why

If your network sits behind a proxy that buffers streamed responses, a remote session could appear to hang or keep reconnecting. This fallback gives such connections another way to get updates, and CLAUDE_CODE_CCR_LONG_POLL lets you force it on or off yourself.

Read from
Feature flag
tengu_ccr_sse_long_poll_fallback Not enough to say

Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.

This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.314: on

These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.

tengu_ccr_sse_keepalive_max_interval_s Not enough to say

Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.

This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.314: not a boolean we can read

These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.

Read once, for one account on one subscription tier, against v2.1.314. It isn't a statement about your account. What a flag value here can and cannot tell you

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtNothing shows what makes a connection ask for a long poll, so this path may never run.
The name it cites is new in this buildNew in this build: tengu_ccr_sse_long_poll_fallback

See this entry in the whole of v2.1.314 →

Feedback