{"version":"2.1.314","anchor":"http-agent-socket-keep-alive-handling","canonical_anchor":"http-agent-socket-keep-alive-handling","heading":"Network connections are kept alive differently when idle and when reused","tier":"internal","area":"Internals","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314\/e\/http-agent-socket-keep-alive-handling","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314","markdown":"### Network connections are kept alive differently when idle and when reused\n\nClaude Code now adjusts keep-alive and timeout settings on a network connection when it is set aside and again when it is reused\n\n**What**\n\nClaude Code keeps some network connections open between requests so it can reuse them instead of opening new ones. It now changes the keep-alive and timeout settings on a connection at two moments: when the connection is set aside to wait for its next use, and when it is picked up again.\n\n**Why**\n\nThis may mean fewer errors caused by reusing a connection that had quietly gone stale.\n\n- Area: Internals\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}