forked from fabiolb/fabio
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue fabiolb#129: Support for server-sent events (SSE)
Original PR fabiolb#130 by @madeddie This patch adds a proxy.flushinterval option which enables periodic flushing of the repsonse buffer. Since this is a global option and the implications on non-streaming HTTP requests are unknown the current implementation limits the use of the flush interval to requests where the 'Accept' header is set to 'text/event-stream' which identifies SSE requests. This is really a route specific option and should be configured as such once this becomes possible.
- Loading branch information
1 parent
0bfcf7b
commit 78f9e00
Showing
2 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters