Cloudflare Not Flushing Response Buffer for SSE Endpoint

I have a HTTP Server Sent Events endpoint sat behind Cloudflare - basically a long running http endpoint. When I call the endpoint directly, bypassing Cloudflare, the response works correctly with every character being flushed. When I call the endpoint behind Cloudflare the response is never fully flushed, leaving off several characters until more data is flushed or the response is complete.

Response buffering and caching are turned off and I’m unsure what else to try. Is anyone able explain why this is happening and what I can do to prevent it?

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.