We're hosting some containers making use of server-sent events EventSource and noticed this doesn't work with Fabio.
If you're unfamiliar with SSE, it's comparable to long polling and is a form of HTTP server push.
The problem is that the default ReverseProxy implementation of Go doesn't flush its buffer while the request is still open.
I'm somewhat sure this is not all to it, but if I simply add a FlushInterval to the ReverseProxy instance, the application starts working as expected.
I've made a quick hack here, please let me know if this is something you might want to add Fabio.
master...madeddie:server_sent_events
We're hosting some containers making use of server-sent events EventSource and noticed this doesn't work with Fabio.
If you're unfamiliar with SSE, it's comparable to long polling and is a form of HTTP server push.
The problem is that the default ReverseProxy implementation of Go doesn't flush its buffer while the request is still open.
I'm somewhat sure this is not all to it, but if I simply add a FlushInterval to the ReverseProxy instance, the application starts working as expected.
I've made a quick hack here, please let me know if this is something you might want to add Fabio.
master...madeddie:server_sent_events