alexandrevicenzi / go-sse

Server-Sent Events for Go
MIT License
172 stars 40 forks source link

add x-accel-buffering header and set to no #12

Closed kabaluyot closed 4 years ago

kabaluyot commented 4 years ago

As per discussion here, https://serverfault.com/questions/801628/for-server-sent-events-sse-what-nginx-proxy-configuration-is-appropriate, the header above will solve the buffering issue that this package do when deployed in production with proxy servers (nginx, apache).