{"name":"CLAUDE_CODE_CCR_LONG_POLL","slug":"claude-code-ccr-long-poll","family":"env","title":"Environment variables","noun":"environment variable","description":"If repeated connections deliver no data, Claude Code asks the server for long-poll responses, and `CLAUDE_CODE_CCR_LONG_POLL` can force or block this","description_source":"entry","described_by":{"version":"2.1.314","anchor":"sse-transport-can-fall-back-to-long-poll-when-a-proxy-buffer"},"presence":{"first_seen":"2.1.314","removed_in":null,"in_current_build":true,"newest_mined":"2.1.314","builds":1,"mined_builds":154,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.314","anchor":"sse-transport-can-fall-back-to-long-poll-when-a-proxy-buffer","heading":"Remote session streaming can switch to long-polling when a proxy holds back data","line":"If repeated connections deliver no data, Claude Code asks the server for long-poll responses, and `CLAUDE_CODE_CCR_LONG_POLL` can force or block this","released_at":"2026-10-30 00:12:56","reason":"found in this entry's text"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_CCR_EARLY_HYDRATE_PREFETCH","slug":"claude-code-ccr-early-hydrate-prefetch","description":"Setting CLAUDE_CODE_CCR_EARLY_REMOTE_CONNECT makes a resumed --sdk-url session open its remote connection early, before the rest of startup finishes"},{"name":"CLAUDE_CODE_CCR_EARLY_PLUGINS_SYNC","slug":"claude-code-ccr-early-plugins-sync","description":"With `CLAUDE_CODE_CCR_EARLY_PLUGINS_SYNC` set, non-interactive hosted sessions sync plugins before the rest of startup"},{"name":"CLAUDE_CODE_CCR_EARLY_REMOTE_CONNECT","slug":"claude-code-ccr-early-remote-connect","description":"Setting CLAUDE_CODE_CCR_EARLY_REMOTE_CONNECT makes a resumed --sdk-url session open its remote connection early, before the rest of startup finishes"},{"name":"CLAUDE_CODE_CCR_EARLY_SKILLS_SYNC","slug":"claude-code-ccr-early-skills-sync","description":"Claude Code now reads four new startup environment variables and passes them through to cloud sessions; they do nothing unless set"},{"name":"CLAUDE_CODE_CCR_EARLY_SYNC_AFTER_SETTINGS_REFUSAL","slug":"claude-code-ccr-early-sync-after-settings-refusal","description":"A new switch, `CLAUDE_CODE_CCR_EARLY_SYNC_AFTER_SETTINGS_REFUSAL`, lets cloud sessions take the early sync path when the settings fetch is refused"},{"name":"CLAUDE_CODE_CCR_EVENT_FLUSH_POLICY","slug":"claude-code-ccr-event-flush-policy","description":"A new environment variable, `CLAUDE_CODE_CCR_EVENT_FLUSH_POLICY`, sets how a remote session sends out its events"},{"name":"CLAUDE_CODE_CCR_FOLD_FIRST_TURN_RESCAN","slug":"claude-code-ccr-fold-first-turn-rescan","description":"Claude Code now reads four new startup environment variables and passes them through to cloud sessions; they do nothing unless set"},{"name":"CLAUDE_CODE_CCR_LAZY_SUBAGENT_HYDRATE","slug":"claude-code-ccr-lazy-subagent-hydrate","description":"Cloud sessions can defer loading subagent transcripts, but the flag is off unless the server enables it."},{"name":"CLAUDE_CODE_CCR_OWN_CONNECTION_POOL","slug":"claude-code-ccr-own-connection-pool","description":"`CLAUDE_CODE_CCR_OWN_CONNECTION_POOL` and `CLAUDE_CODE_SYNC_PLUGINS_DOWNLOAD_CONCURRENCY` are new environment variables used by remote sessions"},{"name":"CLAUDE_CODE_CCR_SKIP_FRESH_MIGRATIONS","slug":"claude-code-ccr-skip-fresh-migrations","description":"Claude Code now reads four new startup environment variables and passes them through to cloud sessions; they do nothing unless set"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-ccr-long-poll","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}