{"version":"2.1.229","anchor":"gateway-streaming-keeps-connections-alive-with-pings","canonical_anchor":"gateway-streaming-keeps-connections-alive-with-pings","heading":"Gateway streaming keeps connections alive with pings","tier":"notice","area":"Gateway","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.229\/e\/gateway-streaming-keeps-connections-alive-with-pings","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.229","markdown":"### Gateway streaming keeps connections alive with pings\n\nLong streaming requests through the local gateway send keep-alive pings so proxies don't drop them.\n\n**What**\n\nStreaming responses through the local gateway now emit a periodic `event: ping` frame when the upstream has gone quiet, so idle proxies and load balancers are less likely to drop a long request. The interval defaults to 15000 ms.\n\n**Details**\n\n- The frame carries the payload line `data: {\"type\": \"ping\"}`.\n- No such frame existed in the previous build.\n\n**Evidence**\n\n`data: {\"type\": \"ping\"}`\n\n- Area: Gateway\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}