MatthewWid / better-sse

⬆ Dead simple, dependency-less, spec-compliant server-sent events implementation for Node, written in TypeScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add header to disable proxy buffering

MatthewWid opened this issue · comments

Inspired by this line from the Nest SSE implementation, add the X-Accel-Buffering header set to no in the default response headers of the Session to indicate to a reverse proxy such as NGINX to not buffer response data for the connection.