alexandrevicenzi / go-sse

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

Write headers immediately #6

Closed serverwentdown closed 6 years ago

serverwentdown commented 6 years ago

Flush all headers. This can help inform any reverse proxies of relevant headers and prevent them from dropping connections due to inactivity.

alexandrevicenzi commented 6 years ago

Can you add a description to this PR?

serverwentdown commented 6 years ago

Sorry, I missed it out.

alexandrevicenzi commented 6 years ago

Thanks.